TypeScript
public const USER_ROLE_ANY = 'any';
public const USER_ROLE_GUESTS = 'guests';
public const USER_ROLE_USERS = 'users';
public const USER_ROLE_ADMIN = 'admin';
public const USER_ROLE_DEVELOPER = 'developer';
public const USER_ROLE_OWNER = 'owner';
public const USER_ROLE_APPS = 'apps';
public const USER_ROLE_SYSTEM = 'system';
especially USER_ROLE_ADMIN, USER_ROLE_DEVELOPER, USER_ROLE_OWNER, USER_ROLE_APPS, USER_ROLE_SYSTEM?
TL;DR
Developers are confused about the meaning of certain variables in the code. They are asking about the definitions of USER_ROLE_ADMIN, USER_ROLE_DEVELOPER, USER_ROLE_OWNER, USER_ROLE_APPS, USER_ROLE_SYSTEM in the code snippet.
Solution:
- USER_ROLE_ADMIN: Represents the admin user role.
- USER_ROLE_DEVELOPER: Represents the developer user role.
- USER_ROLE_OWNER: Represents the owner user role.
- USER_ROLE_APPS: Represents the apps user role.
- USER_ROLE_SYSTEM: Represents the system user role.From src/Appwrite/Auth/Auth.php
Recommended threads
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?