Skip to content

Mirror permissions on backend DB or openFGA as single source of truth #241

Answered by Raid55
Raid55 asked this question in Q&A
Discussion options

You must be logged in to vote

@xtc on discord left some useful points to take into consideration and I believe it answers my question.

some thoughts on this:

  • How comfortable do you feel coupling your data relationships with OpenFGA? If you ever need to consider moving away form OpenFGA, you would need to either remodel your data or replicate the current source of truth (if possible) in the new service.

  • When your applications scales, how do you ensure you're able to differentiate the resources required for your authz service and your "business data" service?

  • It's generally best practise to have a separate DB for your OpenFGA, which means you'll likely need both services to have a complete picture of your data. C…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by Raid55
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