Replies: 3 comments 1 reply
-
Hi @wojtekdfg, thanks for your question. We'll take a look and get back to you with some help. |
Beta Was this translation helpful? Give feedback.
-
Hi @wojtekdfg , Thanks for your question. I've shared a .yaml file with you with some example tuples and assertions which you can check out. Please let us know if this example works for your use case, I'd suggest adding additional tuples and assertions to validate this. Thank you |
Beta Was this translation helpful? Give feedback.
-
Hi @wojtekdfg, I've pasted the fga.yaml file below, for easy reference. Please let us know if you have any questions. Thanks
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I'm trying to set up a permission model for given cases:
This last case is giving me some problems. My thinking process here is that I need to add user to special group in the school - individual_approved_member so I know who has permissions in the school. Then I need to add relation for school in the repository so I know that additional check is required. So school is added as restricted_school_access and user is granted restricted_user_access.
I have created such model and tested it in the playground with success. It feels very basic and I'm looking for help what I can improve.
I have identified already a few issues but I think they are not breaking the applications like removing user access via one school when he still has access in another school. This is not a problem because I need access from one or more schools to grant reader permission to the user.
I would appreciate any help with creating my first model and testing it in real application prototype.
Beta Was this translation helpful? Give feedback.
All reactions