用户权限管理

This commit is contained in:
undefined committed 2020-04-28 18:16:43 +08:00
1 parent c2f9bf8c53
commit 4ec2a46877
11 files changed
+172 -75

No files matched your search

+1 -1
View File
@@ -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 = {
动态规划: [