Commit 7c7941e5 authored by Noel Alonso's avatar Noel Alonso
Browse files

Permite a invitados consultar contactos

parent f8db9360
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -123,10 +123,6 @@ public class Oauth2SecurityConfiguration {
					"#oauth2.hasScope('write') and "
					+ "hasAnyRole('ROLE_ADMINISTRATOR', 'ROLE_OAG', 'ROLE_COLLABORATOR')");

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

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