Permission management for dependent collection to main collection
- 1
- Web
- Databases
- General
- Self Hosted
- REST API
What is the best approach to handle all the permission management in this scenario? Let’s say I have three different collections. Client collection, follow up collection and health collection.
Client collection: support document level permissions. When creating document i will add users who can access as permissions
Followups and Healths collection will have clientId as attributes.
Where the user can access any client in clients collection, they can only access Followup and Healths which contains the clientId that they can access in clients collection.
- Option1: making followup and health collection to support document level permission. it will be lot of permissions data and handle updates of clients will also have to require to update follow up and health collection
- Option2: only client support document level permission. When accesing follow up or health. Must check user first based on clients document permission which clients that user can access. Then listing all one by one based on equal conditions clientId=xxxx
Additional: more collection like followup and healths which are dependent on Client.
Please share your thoughts
Recommended threads
- I have try to use the appwrite in to the...
Invalid Origin. Register your new client (oailedjdbkhlkakmnnapoonllbnfmfij) as a new Web (Chrome Extension) platform on your project console dashboard
- what happened with 'never paused' ????
I can already imagine how annoying this is going to be...
- Self hosted project based backup
Is there a native way to perform a project-level backup in a self-hosted instance, instead of backing up the entire Docker instance? If not, I would like to off...