feat(permissions): 扩展权限常量定义
- 新增操作日志权限常量(OPER_LOG.SEARCH, OPER_LOG.DELETE) - 完善系统管理员权限组,包含所有新增权限模块 - 为后续操作日志功能模块提供权限支持
This commit is contained in:
parent
7b1c300937
commit
a95fe3db06
@ -41,6 +41,12 @@ export const PERMISSIONS = {
|
||||
UPDATE: 'system:loginlog:update',
|
||||
DELETE: 'system:loginlog:delete',
|
||||
},
|
||||
|
||||
// 操作日志权限
|
||||
OPER_LOG: {
|
||||
SEARCH: 'system:operlog:search',
|
||||
DELETE: 'system:operlog:delete',
|
||||
},
|
||||
} as const
|
||||
|
||||
// 权限类型推断
|
||||
@ -78,5 +84,6 @@ export const PERMISSION_GROUPS = {
|
||||
...Object.values(PERMISSIONS.ROLE),
|
||||
...Object.values(PERMISSIONS.MENU),
|
||||
...Object.values(PERMISSIONS.LOGIN_LOG),
|
||||
...Object.values(PERMISSIONS.OPER_LOG),
|
||||
],
|
||||
} as const
|
||||
|
||||
Loading…
Reference in New Issue
Block a user