From c82c4d5b4fd4ce257579c0650c5cc169ff298d78 Mon Sep 17 00:00:00 2001 From: fatima ezzahra majidi <fatima-ezzahra.majidi.etu@univ-lille.fr> Date: Fri, 7 Mar 2025 12:29:22 +0000 Subject: [PATCH] =?UTF-8?q?renforcement=20s=C3=A9curit=C3=A9=20Backend?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/gestionstagesbackend/config/SecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/example/gestionstagesbackend/config/SecurityConfig.java b/src/main/java/com/example/gestionstagesbackend/config/SecurityConfig.java index 268ac63..9938c2a 100644 --- a/src/main/java/com/example/gestionstagesbackend/config/SecurityConfig.java +++ b/src/main/java/com/example/gestionstagesbackend/config/SecurityConfig.java @@ -43,7 +43,7 @@ public class SecurityConfig { .requestMatchers("/**").permitAll() // Role-based access - // 👨🎓 STUDENTS (ETUDIANTS) - Can ONLY View Students & Stages + // STUDENTS (ETUDIANTS) - Can ONLY View Students & Stages .requestMatchers(HttpMethod.GET, "/api/students").hasAuthority("ROLE_ETUDIANT") .requestMatchers(HttpMethod.GET, "/api/stages").hasAuthority("ROLE_ETUDIANT") -- GitLab