i dont have idea about how admin manage users and all how to make guys if ayone has theorical knowladge and all please can share me blog or etc too understand basic things please tell me
What do you mean with managing users?
If you mean deleting for example, an user, you will need an appwrite function
for example i had a app which has a admin and user both so how i first of all identify it is admin or user if there is no login available for user just login available for admin and how admin manage a work to upload items and all
You can assign permission: https://appwrite.io/docs/permissions
If you don't want (for example) allowing an user without a role accessing a page, you can do account.get(); and depending on the role redirect to another page
Recommended threads
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...