-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # 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
|
# for free
to join this conversation on GitHub.
Already have an account?
# 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: