Skip to main content

Collection Permissions

Collection level permissions apply to every document in the collection. If a user has read, create, update, or delete permissions at the collection level, the user can access all documents inside the collection.

Setting up Permissions

1 - In appwrite console, select your database.

2 - Then navigate to your collection, for example user_profiles collection.

3 - Then navigate to Settings tab.

4 - Inside settings page, navigates to Permissions option.

5 - Now click on "+ Add role" button and select All users option.

6 - Then select all of the four options i.e. Create, Read, Update & Delete.

7 - Now click on Update button. That's it.

Security tip

Slecting All users option will give permissions to only those users which are authenticated via Appwrite auth system.

info

Now next, repeat the same process to set permissions for rest of the collections too.