Commit b61b07be by Rubén Ramírez

feat: [ServicioSeguridad]: Añadida la url con los permisos para listar y añadir la reseña

parent afe73c22
......@@ -62,6 +62,8 @@ public class ServicioSeguridad {
.requestMatchers(HttpMethod.PUT, "/recursos/{recursoId}/capitulos/{capituloId}").hasAuthority("ROLE_ADMIN")
.requestMatchers(HttpMethod.GET, "/biblioteca/{usuarioId}/recursos/{recursoId}").authenticated()
.requestMatchers(HttpMethod.GET, "/recursos/ranking").permitAll()
.requestMatchers(HttpMethod.POST, "/recursos/{recursoId}/resenas").authenticated()
.requestMatchers(HttpMethod.GET, "/recursos/{recursoId}/resenas").authenticated()
.anyRequest().authenticated()
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment