Back

Permissions within a database

  • 0
  • Databases
  • React Native
Oliver.
24 Sep, 2024, 19:15

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.

TL;DR
Developers are seeking advice on implementing two levels of authorization (management and basic user) in their app project. They are debating between adding an attribute to users for the two options or utilizing Appwrite's permissions feature. They want both user levels to update the database but restrict certain parts of the app (like analytics) to normal users. They are unsure about using Appwrite's permissions for this purpose. They are open to any help or links to relevant documentation. Solution: Consider adding an attribute to users for the two authorization levels and use Appwrite's permissions feature to restrict access to certain parts of the app. Appwrite permissions can be used
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