fix(用户组与权限): 工作空间菜单权限问题
--bug=1007435 --user=lyh 【系统设置】用户组与权限有项目管理和环境设置的权限,但是用户看不到这两个菜单 https://www.tapd.cn/55049933/s/1058687
This commit is contained in:
parent
8bef1d999d
commit
a85ff7602e
|
@ -12,7 +12,7 @@
|
|||
</el-submenu>
|
||||
|
||||
<el-submenu index="3"
|
||||
v-permission="['WORKSPACE_USER:READ']">
|
||||
v-permission="workspacePermission">
|
||||
<template v-slot:title>
|
||||
<font-awesome-icon class="icon workspace" :icon="['far', 'list-alt']" size="lg"/>
|
||||
<span>{{ $t('commons.workspace') }}</span>
|
||||
|
@ -79,7 +79,10 @@ export default {
|
|||
'SYSTEM_USER:READ','SYSTEM_ORGANIZATION:READ', 'SYSTEM_GROUP:READ',
|
||||
'ORGANIZATION_GROUP:READ', 'SYSTEM_WORKSPACE:READ','SYSTEM_TEST_POOL:READ',
|
||||
'SYSTEM_SETTING:READ','SYSTEM_QUOTA:READ','SYSTEM_AUTH:READ'
|
||||
]
|
||||
],
|
||||
workspacePermission: ['WORKSPACE_USER:READ','WORKSPACE_SERVICE:READ','WORKSPACE_MESSAGE:READ',
|
||||
'WORKSPACE_PROJECT_MANAGER:READ', 'WORKSPACE_PROJECT_ENVIRONMENT:READ',
|
||||
'WORKSPACE_OPERATING_LOG:READ', 'WORKSPACE_TEMPLATE:READ']
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
|
Loading…
Reference in New Issue