Ketan
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. Ketan
From src/Appwrite/Auth/Auth.php
Recommended threads
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...
- Appwriter Linux Key Bindings
Any tips for configuring appwriter for ubuntu? Actually the keybindings are tightly binded to either windows or mac. Working well on windows but in ubuntu some ...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...