fix: 修复项目成员不能查询组织切换列表的问题

This commit is contained in:
CaptainB 2024-06-12 14:41:31 +08:00 committed by 刘瑞斌
parent 88786bec3e
commit c005915b68
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public class SystemOrganizationController {
@PostMapping("/option/all")
@Operation(summary = "系统设置-系统-组织与项目-组织-获取系统所有组织下拉选项")
@RequiresPermissions(value = {PermissionConstants.SYSTEM_ORGANIZATION_PROJECT_READ, PermissionConstants.ORGANIZATION_PROJECT_READ}, logical = Logical.OR)
@RequiresPermissions(value = {PermissionConstants.SYSTEM_ORGANIZATION_PROJECT_READ, PermissionConstants.ORGANIZATION_PROJECT_READ, PermissionConstants.PROJECT_BASE_INFO_READ}, logical = Logical.OR)
public List<OptionDTO> listAll() {
return organizationService.listAll();
}