Commit e92fef7b authored by Noel Alonso's avatar Noel Alonso
Browse files

Permite guardar selección a usuarios registrados

parent b99de774
Loading
Loading
Loading
Loading
+25 −21
Original line number Diff line number Diff line
@@ -78,6 +78,10 @@ public class Oauth2SecurityConfiguration {

			http.authorizeRequests().antMatchers("/**/_selection/**").permitAll();

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

			http.authorizeRequests().antMatchers(HttpMethod.GET, "/**/_search/_schema").permitAll();

			http.authorizeRequests().antMatchers(HttpMethod.POST, "/**/utils/geo/convert2geojson").permitAll();