Skip to content

How to design model for resource specific access and also allowing access to all the resources? #473

Closed Answered by aaguiarz
prsanjay asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @prsanjay

Yes, that is the way that OpenFGA and Relationship Based Access Control works. You can have billions of tuples on an FGA database.
You need to provide the data first so the authorization checks are very fast.

If you don't want to synchronize the data, you can use OpenFGA's Contextual Tuples https://openfga.dev/docs/modeling/token-claims-contextual-tuples and send some of those tuples in each request to FGA.

Replies: 7 comments 16 replies

Comment options

You must be logged in to vote
1 reply
@prsanjay
Comment options

Comment options

You must be logged in to vote
3 replies
@prsanjay
Comment options

@aaguiarz
Comment options

@prsanjay
Comment options

Comment options

You must be logged in to vote
6 replies
@prsanjay
Comment options

@aaguiarz
Comment options

@aaguiarz
Comment options

@prsanjay
Comment options

@prsanjay
Comment options

Comment options

You must be logged in to vote
5 replies
@aaguiarz
Comment options

@prsanjay
Comment options

@prsanjay
Comment options

@aaguiarz
Comment options

@prsanjay
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@prsanjay
Comment options

Answer selected by prsanjay
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants