diff --git a/web/src/main/java/fr/abes/item/security/User.java b/web/src/main/java/fr/abes/item/security/User.java index 5b884bf1..fc79a71f 100644 --- a/web/src/main/java/fr/abes/item/security/User.java +++ b/web/src/main/java/fr/abes/item/security/User.java @@ -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;