Does the team roles have field that this role have this particular access, we can compare it to the discord role system, we can dynamic create role name and set a privilege access for this role.
Roles in Appwrite are pretty arbitrary, which means that they only have power when deciding so.
It can works only one-way, meaning, if for example you've set one collection to be allowed to a specific role then any user with that role will be able to get the collection documents.
But, it can work backward when you can decide the specific role has specific pre-determined permissions.
Sorry I do not understand
Roles in teams have meaning only if you decide so. You can add permission to a given collection for a certain role. You can't give a role global permission for anything.
The permission module works only from inside-out, meaning you'll need to add the permission to a given resource. And you can't use the permission in outside-in logic so a given role can do whatever they want.
Ok I got it, it means that I should have collections for the roles
Is this make sense?
thank you
Recommended threads
- Upgrade Issue
Am having issue upgrading my appwrite account to pro as my card number is 19 and the required input is 16 digit
- Is there way to copy project (backup/res...
I think there is betterr way of fast back up / restore specified project
- Database setup
Hi everybody, I'm new to AppWrite and I need some help designing a database. I'm trying to set up a database where: 1. There are USERS 2. A USER can create an ...