Hz.BootleggerOriginal post
Rank 1: Thread
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.
Summary
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.