mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
用户权限管理
This commit is contained in:
1 parent
c2f9bf8c53
commit
4ec2a46877
11 files changed
+172
-75
No files matched your search
@@ -3,7 +3,7 @@ const perm = require('../permission');
|
||||
const BUILTIN_ROLES = [
|
||||
{ _id: 'guest', perm: perm.PERM_BASIC },
|
||||
{ _id: 'default', perm: perm.PERM_DEFAULT, count: 0 },
|
||||
{ _id: 'admin', perm: perm.PERM_ADMIN, count: 0 },
|
||||
{ _id: 'root', perm: perm.PERM_ALL, count: 0 },
|
||||
];
|
||||
const CATEGORIES = {
|
||||
动态规划: [
|
||||
|
||||
Reference in new issue
Block a user