Skip to content
Snippets Groups Projects
Commit c82c4d5b authored by Fatima Ezzahra Majidi's avatar Fatima Ezzahra Majidi
Browse files

renforcement sécurité Backend

parent 330f2851
Branches
No related tags found
1 merge request!11renforcement sécurité Backend
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment