-
-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support WildCard Match in getFilteredPolicy #358
Labels
enhancement
New feature or request
Comments
working on it. |
@hsluoyz maybe we can create a method so that wildcard support can be added for all such types of methods. should we focus on adding something like that? |
Shivansh-yadav13
added a commit
to Shivansh-yadav13/node-casbin
that referenced
this issue
Apr 16, 2022
@kerituni12 please review #361 |
@tangramor what you said is a different problem. Please create a new issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example :
I have subject admin:create:any , admin:create:own, i need wildcard to get matched subject and then check value is any or own to handle my business logic
getFilteredPolicy(0, 'admin:create:*', 'user', 'create')
I think the getFilteredPolicy() support something like
The text was updated successfully, but these errors were encountered: