fix role manage

This commit is contained in:
undefined committed 2020-04-27 19:07:56 +08:00
1 parent 15d43636c0
commit 42e534615e
34 files changed
+221 -314

No files matched your search

+2 -2
View File
@@ -2,8 +2,8 @@ const perm = require('../permission');
const BUILTIN_ROLES = [
{ _id: 'guest', perm: perm.PERM_BASIC },
{ _id: 'default', perm: perm.PERM_DEFAULT },
{ _id: 'admin', perm: perm.PERM_ADMIN },
{ _id: 'default', perm: perm.PERM_DEFAULT, count: 0 },
{ _id: 'admin', perm: perm.PERM_ADMIN, count: 0 },
];
const CATEGORIES = {
动态规划: [