File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
BackEnd/No-Country-simulation/src/main/java/com/school/security/config Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments