Merge pull request #227 from Kitzanos/feature/GEPAFINBE-174

GEPAFINBE-174 (Added Two Configurations from PEC Service to Super Admin Dashboard API)
This commit is contained in:
Rinaldo
2025-02-26 09:04:04 +01:00
committed by GitHub
9 changed files with 128 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ public interface DashboardApi {
@ExampleObject(value = ErrorConstants.BADREQUEST_ERROR_EXAMPLE) })) })
@GetMapping(value = "",
produces = { "application/json" })
@PreAuthorize("hasRole('ROLE_SUPER_ADMIN')")
@PreAuthorize("hasRole('ROLE_SUPER_ADMIN') || hasRole('ROLE_INSTRUCTOR_MANAGER')")
ResponseEntity<Response<SuperAdminWidgetResponseBean>> getDashboardWidgetForSuperAdmin(HttpServletRequest request);
@Operation(summary = "Api to get dashboard widget for beneficiary",