so is it possible have some condition to config the default permission of each collection, for e.g. I want User with Verfied Phone Number + User Preferences role:distributior to only all access, then for User with Verfied Phone Number + User Preferences role:agent to only read access to all collection but, write access to certain collection, but if User Phone Number is not verified then don't let do anything...
Since Appwrite uses teams to group users and grant access I would suggest putting a user into a team if they are verified and they're a distributor. Then, use another team for verified and agent. Etc.
great thank you, it make sense I will try this and if works then will mark this ticket to Solved, thank you again @Steven for such active help
[SOLVED] How to make custom permission configuration for each collection
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
- createEmailPasswordSession Error using S...
Did someone succeed using SSR approach for login?
- Trying to Figure out how to delete a use...
If i have a button in an app that allows a user to delete their account, can I not just call a function from my swift app to Appwrite to have the account delete...