fusionauth-site
fusionauth-site copied to clipboard
Document complex use case around entities
Mapping permissions in a hierarchical manner
- company -> department -> document
User can be granted permissions (read, write, admin) to any of these.
How do you roll it up to know which users have access to document A? Which documents does user B have access to?
You'd need to store data in the entity.data field to store the tree, then run queries against the document A or user B to find out the answer.
Include a sample app.