How to make ABAC with OpenFGA #423
Unanswered
andrea-patricelli
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Pure ABAC scenarios is not where OpenFGA shines, but you can model them using the approach you mentioned and the one described here https://github.com/openfga/sample-stores/blob/main/stores/groups-resource-attributes/store.fga.yaml You'll need to store attributes on OpenFGA or send them as part of the request, depending on the use case. Do you have a concrete example of what you want to accomplish? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Based on this example I can model ABAC with reBAC.
But how can I build one or more authorization models to fit with use cases where there are more attributes with discrete values involved? For example how can I define rules to make access decisions based on the attributes of an authenticated subject? Am I forced to insert all tuples representing user attributes? Or the only way is to use conditions?
I would like to have the very same thing explained here.
Does OpenFGA really fit with such needs?
Beta Was this translation helpful? Give feedback.
All reactions