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
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...