fix: group owner and member can't view project log
This commit is contained in:
parent
bd07d8a018
commit
919bd6de87
|
@ -25,7 +25,9 @@ public class AuditLogController {
|
||||||
private final OperationLogService operationLogService;
|
private final OperationLogService operationLogService;
|
||||||
|
|
||||||
@GetMapping(Routes.OperationLog.LIST)
|
@GetMapping(Routes.OperationLog.LIST)
|
||||||
@PreAuthorize("hasAnyAuthority('SYS_OWNER')")
|
@PreAuthorize("hasAnyAuthority('SYS_OWNER',"
|
||||||
|
+ " 'GROUP_OWNER?groupId='+#condition.involveGroupId,"
|
||||||
|
+ " 'GROUP_MEMBER?groupId='+#condition.involveGroupId)")
|
||||||
@Operation(summary = "查询操作日志")
|
@Operation(summary = "查询操作日志")
|
||||||
public JsonData<Page<OperationLogPageResponse>> list(@PageableDefault(sort = "id", direction = Sort.Direction.DESC)
|
public JsonData<Page<OperationLogPageResponse>> list(@PageableDefault(sort = "id", direction = Sort.Direction.DESC)
|
||||||
Pageable page,
|
Pageable page,
|
||||||
|
|
Loading…
Reference in New Issue