fix(系统设置): 批量将用户加入项目级用户组报错
--bug=1014855 --user=李玉号 [系统设置] github#15756无法给用户组批量分配项目。 https://www.tapd.cn/55049933/s/1201371 Closes #15756
This commit is contained in:
parent
b9d0402806
commit
5b1b4575b0
|
@ -46,9 +46,8 @@ public class ProjectController {
|
|||
return projectService.getProjectList(request);
|
||||
}
|
||||
|
||||
/*jenkins项目列表*/
|
||||
@GetMapping("/listAll/{workspaceId}")
|
||||
@RequiresPermissions(PermissionConstants.WORKSPACE_PROJECT_MANAGER_READ)
|
||||
@RequiresPermissions(value = {PermissionConstants.WORKSPACE_PROJECT_MANAGER_READ, PermissionConstants.SYSTEM_USER_READ}, logical = Logical.OR)
|
||||
public List<ProjectDTO> listAll(@PathVariable String workspaceId) {
|
||||
ProjectRequest request = new ProjectRequest();
|
||||
request.setWorkspaceId(workspaceId);
|
||||
|
|
Loading…
Reference in New Issue