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
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...
- Seed db
hello there... is this correct way to seed appwrite
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?