If i want any authenticated user to be able to read the document and only the creator to be able to update or delete
- What should I set the permissions to on the document
- Should I have any permissions on the collection or only on the Document
Thanks
any authenticated user to be able to read the document
Grant read permissions to users at the collection level
only the creator to be able to update or delete
Enable document security on the collection and then don't pass anything for permissions when the user creates the document
So by default the creator of the document has all Permission to the document by default
Recommended threads
- Dynamic Roles
I tried to store a row with this permissions: permissions.push( Permission.read(Role.users("verified")), Permission.write(Role.label(`c-${calend...
- appwrite auth problem regarding the sess...
Hi, I have problem with auth. When I try to login/signup using OTP, at the end session.secret is empty, i have searched online and in the docs but i cannot find...
- log out failure
I am trying to set up the user sign up/log in/log out and while I have got the sign up/log in to work, log out keeps failing. i am keeping it simple with only r...