-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
[Question] Using Casbin for data filtering #276
Labels
question
Further information is requested
Comments
@smrpn @hackerchai @PsiACE @GopherJ |
@adeelfareed can you give a detailed example? |
@hsluoyz Please take a look, I have added an example. |
We have a
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I don't understand how should I use
get_implicit_permissions_for_user
to access only the resources that user has created or is assigned to?Following are some example policy rules.
In this example, users with a reader role will be able to see posts, however, the admins will be able to edit/delete posts too. I need an additional filter that users can only edit their own posts not others'.
Conf:
The text was updated successfully, but these errors were encountered: