mirror of
https://github.com/fumiama/paper-manager.git
synced 2026-06-21 19:13:22 +08:00
edit roles
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
export enum RoleEnum {
|
||||
// super admin
|
||||
// super admin, all permission granted
|
||||
SUPER = 'super',
|
||||
|
||||
// tester
|
||||
TEST = 'test',
|
||||
// can only create / delete account of normal users
|
||||
ACCOUNT_MANAGER = 'accmgr',
|
||||
|
||||
// add / del files + USER's permission
|
||||
FILE_MANAGER = `filemgr`,
|
||||
|
||||
// have the permission of using the normal application
|
||||
USER = 'user',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user