hello, im trying to make an app project where there are two levels of authorisation. one being management and one being a basic user. Should i create an attribute onto the users with the two options or do i do it through appwrites permissions. Both levels of user should be able to update the database the reason for the two different tiers is that i want parts of the app to be off limits to the normal users such as the analytics etc. I dont see the point of using appwrites permissions for this as from my understanding this is to alter who can edit read and delete documents right? Any help is appreciated or links to documentation.
#Permissions within a database
2 messages · Page 1 of 1 (latest)
I would use labels, and give the user the label of basic and/or management. Then you can utilize those labels for authorization on different parts of your app and document level security.
https://appwrite.io/docs/products/auth/labels
https://appwrite.io/docs/products/databases/permissions