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

Merge branch 'master' into 'main'

renforcement sécurité Backend

See merge request !11
parents dd69abf9 c82c4d5b
No related branches found
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