Commit 2af05c34 authored by Noel Alonso's avatar Noel Alonso
Browse files

Merge branch 'dev' into 'master'

Añade permisos a usuarios para acceder a reports

See merge request redmic-project/server/api!11
parents abedd241 4b7f43cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ public class Oauth2SecurityConfiguration {
			
			http.authorizeRequests().antMatchers("/temp/report/**/").access(
					"#oauth2.hasScope('read') or #oauth2.hasScope('write') and "
					+ "hasAnyRole('ROLE_ADMINISTRATOR', 'ROLE_OAG', 'ROLE_COLLABORATOR')");
					+ "hasAnyRole('ROLE_ADMINISTRATOR', 'ROLE_OAG', 'ROLE_COLLABORATOR', 'ROLE_USER')");
			
			http.authorizeRequests().antMatchers("/**/convert2redmic/**").access(
					"#oauth2.hasScope('read') or #oauth2.hasScope('write') and "