Commit 820f4785 authored by Noel Alonso's avatar Noel Alonso
Browse files

Permite a usuarios anónimos actuar sobre selección

parent 639cd6da
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ public class Oauth2SecurityConfiguration {
			http.authorizeRequests()
				.antMatchers(HttpMethod.POST, "/discover-layers/**").permitAll();

			http.authorizeRequests().antMatchers(HttpMethod.DELETE, "/**/settings/**").access(
			http.authorizeRequests().antMatchers("/**/settings/**").access(
					"#oauth2.hasScope('write') and hasAnyRole('ROLE_ADMINISTRATOR', 'ROLE_OAG', 'ROLE_COLLABORATOR', 'ROLE_USER')");

			http.authorizeRequests().antMatchers(HttpMethod.POST, "/**/settings/select").permitAll();