fix(系统设置): 有相关权限的用户点击成员菜单跳转至个人信息页
--bug=1018138 --user=李玉号 [项目设置]用户权限只包括接口测试模块,用户登录后在工作空间-成员页面跳转至个人信息页 https://www.tapd.cn/55049933/s/1263816
This commit is contained in:
parent
21670ee179
commit
25a2bc1cc2
|
@ -59,7 +59,7 @@ public class GroupController {
|
|||
}
|
||||
|
||||
@PostMapping("/get")
|
||||
@RequiresPermissions(value = {PermissionConstants.SYSTEM_GROUP_READ, PermissionConstants.SYSTEM_USER_READ}, logical = Logical.OR)
|
||||
@RequiresPermissions(value = {PermissionConstants.SYSTEM_GROUP_READ, PermissionConstants.SYSTEM_USER_READ, PermissionConstants.WORKSPACE_USER_READ}, logical = Logical.OR)
|
||||
public List<Group> getGroupByType(@RequestBody EditGroupRequest request) {
|
||||
return groupService.getGroupByType(request);
|
||||
}
|
||||
|
|
|
@ -59,7 +59,7 @@ public class GroupController {
|
|||
}
|
||||
|
||||
@PostMapping("/get")
|
||||
@RequiresPermissions(value = {PermissionConstants.SYSTEM_GROUP_READ, PermissionConstants.SYSTEM_USER_READ}, logical = Logical.OR)
|
||||
@RequiresPermissions(value = {PermissionConstants.SYSTEM_GROUP_READ, PermissionConstants.SYSTEM_USER_READ, PermissionConstants.WORKSPACE_USER_READ}, logical = Logical.OR)
|
||||
public List<Group> getGroupByType(@RequestBody EditGroupRequest request) {
|
||||
return groupService.getGroupByType(request);
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@ export default {
|
|||
workspaceTemplate: getMenus('workspaceTemplate'),
|
||||
systemPermission: [
|
||||
'SYSTEM_USER:READ', 'SYSTEM_ORGANIZATION:READ', 'SYSTEM_GROUP:READ',
|
||||
'ORGANIZATION_GROUP:READ', 'SYSTEM_WORKSPACE:READ', 'SYSTEM_TEST_POOL:READ',
|
||||
'SYSTEM_WORKSPACE:READ', 'SYSTEM_TEST_POOL:READ',
|
||||
'SYSTEM_SETTING:READ', 'SYSTEM_QUOTA:READ', 'SYSTEM_AUTH:READ'
|
||||
],
|
||||
workspacePermission: ['WORKSPACE_USER:READ', 'WORKSPACE_SERVICE:READ',
|
||||
|
|
Loading…
Reference in New Issue