Commit 16579f12 authored by Noel Alonso's avatar Noel Alonso
Browse files

Elimina excepción de seguridad de oauth

parent 367210e7
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -49,8 +49,6 @@ public class Oauth2SecurityConfiguration {
			http.authorizeRequests().antMatchers("/**/settings/**").access(
					"#oauth2.hasScope('write') and hasAnyRole('ROLE_ADMINISTRATOR', 'ROLE_OAG', 'ROLE_COLLABORATOR', 'ROLE_USER')");
			
			http.authorizeRequests().antMatchers(HttpMethod.GET, "/**").permitAll();
			
			http.authorizeRequests().antMatchers(HttpMethod.POST, "/**/_search").permitAll();
			
			http.authorizeRequests().antMatchers(HttpMethod.POST, "/**/_mget").permitAll();