Skip to content

Commit

Permalink
Refactor : Ajout groupe admin cbs a groupe admin item
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-maraval committed Jun 18, 2024
1 parent a4ba068 commit a19e140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/main/java/fr/abes/item/security/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public String getRole() {
if (role == null || role.isEmpty()) {
if (this.userGroup.toLowerCase().trim().equals("coordinateur"))
role = "USER";
if (this.userGroup.toLowerCase().trim().equals("abes"))
if (this.userGroup.toLowerCase().trim().equals("abes") || this.userGroup.trim().equals("M1999"))
role = "ADMIN";
}
return this.role;
Expand Down

0 comments on commit a19e140

Please sign in to comment.