1
0
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:
源文雨
2023-03-13 21:25:03 +08:00
parent c821776891
commit 4116f971f7
4 changed files with 14 additions and 8 deletions

View File

@@ -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',
}