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
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Migration from Cloud to Self-Hosted not ...
Hello Appwrite Community, I've got the problem, that when I try to migrate my Appwrite Project from the cloud to my self-hosted Appwrite, that an API Key is mi...
- I can't migrate my project from Appwrite...
I'm having an issue migrating my Appwrite project to a self-hosted instance. The problem is that I've exceeded my read rate limit (or database read limit), so I...