diff --git a/skill-tree/src/main/java/com/RDS/skilltree/apis/SkillsApi.java b/skill-tree/src/main/java/com/RDS/skilltree/apis/SkillsApi.java index 3d6a4e30..1a0f65ad 100644 --- a/skill-tree/src/main/java/com/RDS/skilltree/apis/SkillsApi.java +++ b/skill-tree/src/main/java/com/RDS/skilltree/apis/SkillsApi.java @@ -30,6 +30,7 @@ public ResponseEntity> getAll() { } @GetMapping("/requests") + @AuthorizedRoles({UserRoleEnum.SUPERUSER}) public ResponseEntity getAllRequests() { return ResponseEntity.ok(skillService.getAllRequests()); }