How do I set Role Level Access at the Database level
For example I want only users on the members collection to be able to access a workspace collects
Imagine Slack a user from another workspace should not be able to access the db of another workspace, am trying to enforce some security at the db level
You add the users to the team, and then you set the permissions in the collection or documents you want when creating it
For example:
You can do that programmatically too when creating a document, specifically in the "permissions" array: https://appwrite.io/docs/references/cloud/client-web/databases#createDocument
Thanks so much, this is what I need
Is there any solution for the collection attribute auto type generation
Recommended threads
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?