Skip to content

Commit

Permalink
feat(be): Added missing status codes for Admin
Browse files Browse the repository at this point in the history
  • Loading branch information
mamartinezmejia committed Feb 4, 2025
1 parent 7e698fc commit c94b44d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ else if (groups.contains(ApplicationConstant.ROLE_EDITOR)) {
private Set<String> getAdminStatuses(String clientTypeCode) {
return switch (clientTypeCode) {
case "B", "F", "G" -> Set.of("ACT", "DAC", "SPN");
case "I", "A" -> Set.of("ACT", "DEC", "REC", "SPN");
default -> Set.of("ACT", "DAC", "REC", "SPN");
};
}
Expand Down

0 comments on commit c94b44d

Please sign in to comment.