Back

Permission Scenario:

  • 0
  • Databases
  • Flutter
  • Cloud
Hz.Bootlegger
24 Apr, 2024, 16:42

Hi all,

How to set up collection and document permissions if I want,

  • Every user can create read and update their own documents in that collection,
  • Each user can only see their own documents in that collection,
  • User that has special label like "admin" can see all documents in that collection and delete also.
TL;DR
Developers are wondering how to set up permissions for a collection: - Regular users can create, read, and update their own documents. - Regular users can only see their own documents. - Admin users can see and delete all documents. Solution: Implement role-based access control where regular users have restricted permissions and admin users have elevated permissions.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more