mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Changed role names
This commit is contained in:
1 parent
3da045f6f7
commit
5ed2eea208
3 files changed
+10
-10
No files matched your search
@@ -16,13 +16,13 @@ class Auth
|
||||
/**
|
||||
* User Roles.
|
||||
*/
|
||||
const USER_ROLE_GUEST = 0;
|
||||
const USER_ROLE_MEMBER = 1;
|
||||
const USER_ROLE_ADMIN = 2;
|
||||
const USER_ROLE_DEVELOPER = 3;
|
||||
const USER_ROLE_OWNER = 4;
|
||||
const USER_ROLE_APP = 5;
|
||||
const USER_ROLE_SYSTEM = 6;
|
||||
const USER_ROLE_GUEST = 'guest';
|
||||
const USER_ROLE_MEMBER = 'member';
|
||||
const USER_ROLE_ADMIN = 'admin';
|
||||
const USER_ROLE_DEVELOPER = 'developer';
|
||||
const USER_ROLE_OWNER = 'owner';
|
||||
const USER_ROLE_APP = 'app';
|
||||
const USER_ROLE_SYSTEM = 'system';
|
||||
|
||||
/**
|
||||
* Token Types.
|
||||
|
||||
Reference in new issue
Block a user