fix: 修复权限相关问题

This commit is contained in:
CaptainB 2022-06-09 23:47:47 +08:00 committed by 刘瑞斌
parent 789161e510
commit d0d0943ff1
1 changed files with 3 additions and 3 deletions

View File

@ -52,11 +52,11 @@ export default {
},
activated() {
let projectPermissions = hasPermissions('PROJECT_USER:READ', 'PROJECT_ENVIRONMENT:READ', 'PROJECT_OPERATING_LOG:READ',
'PROJECT_MESSAGE:READ', 'PROJECT_TEMPLATE:READ',
'PROJECT_FILE:READ+JAR', 'PROJECT_FILE:READ+FILE', 'PROJECT_CUSTOM_CODE:READ');
let wsPermissions = hasPermissions('WORKSPACE_SERVICE:READ', 'PROJECT_MESSAGE:READ', 'WORKSPACE_USER:READ',
'WORKSPACE_PROJECT_MANAGER:READ', 'WORKSPACE_PROJECT_ENVIRONMENT:READ', 'WORKSPACE_OPERATING_LOG:READ',
'PROJECT_TEMPLATE:READ');
let wsPermissions = hasPermissions('WORKSPACE_SERVICE:READ', 'WORKSPACE_USER:READ',
'WORKSPACE_PROJECT_MANAGER:READ', 'WORKSPACE_PROJECT_ENVIRONMENT:READ', 'WORKSPACE_OPERATING_LOG:READ');
let sysPermissions = hasPermissions('SYSTEM_USER:READ', 'SYSTEM_WORKSPACE:READ', 'SYSTEM_GROUP:READ',
'SYSTEM_TEST_POOL:READ', 'SYSTEM_SETTING:READ', 'SYSTEM_AUTH:READ',