Skip to content

Loading filtered policy overwrites previous policies #387

@seniorquico

Description

@seniorquico

The current PolicyFilter class only supports a single query. If I try to load multiple PolicyFilters, subsequent calls to LoadFilteredPolicy overwrite any previously loaded policies. It's not clear how to load both filtered g and p policies or different sets of p policies from my custom adapter. Is Casbin.NET missing the equivalent to LoadIncrementalFilteredPolicy, or am I thinking about this the wrong way?

https://casbin.org/docs/policy-subset-loading/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions