
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
- I am getting a 401 unauthorized response...
I have a Next.js application that stores user PDFs. I'm able to save them normally, but when trying to access the files using getFileView, I get a 401 Unauthori...
- Error sending push message from dashboar...
I am trying to implement appwrite fully into my app and am switching over from firebase. I registered FCM as a Provider and tried to send a push message via the...
- My organization deleted, how??
Getting error mesasges and I can't find my organization.
