Skip to content

Commit 7d203f7

Browse files
committed
Updated ParentController, ParentServiceImpl, and StudentServiceImpl with new methods.
1 parent 5dcbadd commit 7d203f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BackEnd/No-Country-simulation/src/main/java/com/school/security/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity httpSecurity) throws
6060
http.requestMatchers(HttpMethod.GET, "/teacher/verifyStudent/**").hasAuthority("READ_PRIVILEGES");
6161
http.requestMatchers(HttpMethod.GET, "/admin/**").hasRole("ADMIN");
6262
http.requestMatchers(HttpMethod.GET, "/api/v1/status/auth-student").hasAnyRole("STUDENT");
63-
http.requestMatchers(HttpMethod.GET, "/api/v1/status/auth-teacher").hasAnyRole("TEACHER");
63+
http.requestMatchers(HttpMethod.GET, "/api/v1/status/auth-teacher", "/admin/parent/verify/{dni}").hasAnyRole("TEACHER");
6464
http.requestMatchers(HttpMethod.GET, "/api/v1/status/auth-parent").hasAnyRole("PARENT");
6565

6666
// Permisos para evaluaciones

0 commit comments

Comments
 (0)