Loading shared/src/main/java/com/inteligr8/alfresco/asie/rest/AbstractWebScript.java +5 −1 Original line number Diff line number Diff line Loading @@ -40,8 +40,11 @@ public abstract class AbstractWebScript extends org.springframework.extensions.w this.authorizedAuthorities.add(authority); } if (this.authorizedAuthorities.isEmpty()) if (this.authorizedAuthorities.isEmpty()) { this.logger.warn("All authenticated users will be authorized to access web scripts"); } else { this.logger.debug("Allowing only authorities: {}", this.authorizedAuthorities); } } protected Set<String> getAuthorities() { Loading @@ -66,6 +69,7 @@ public abstract class AbstractWebScript extends org.springframework.extensions.w return true; } this.logger.trace("Not authorized: user '{}'; authorities: {}", AuthenticationUtil.getFullyAuthenticatedUser(), AuthenticationUtil.getFullAuthentication().getAuthorities()); return false; } Loading shared/src/main/resources/alfresco/module/com_inteligr8_alfresco_asie-shared/alfresco-global.properties +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ # defaulting to 3 days = 60 * 24 * 3 = 4320 inteligr8.asie.backup.persistTimeMinutes=4320 inteligr8.asie.allowedAuthorities=ALFRESCO_ADMINISTRATORS inteligr8.asie.allowedAuthorities=GROUP_ALFRESCO_ADMINISTRATORS # same as solr.baseUrl, but that property is private to the Search subsystem inteligr8.asie.basePath=/solr Loading
shared/src/main/java/com/inteligr8/alfresco/asie/rest/AbstractWebScript.java +5 −1 Original line number Diff line number Diff line Loading @@ -40,8 +40,11 @@ public abstract class AbstractWebScript extends org.springframework.extensions.w this.authorizedAuthorities.add(authority); } if (this.authorizedAuthorities.isEmpty()) if (this.authorizedAuthorities.isEmpty()) { this.logger.warn("All authenticated users will be authorized to access web scripts"); } else { this.logger.debug("Allowing only authorities: {}", this.authorizedAuthorities); } } protected Set<String> getAuthorities() { Loading @@ -66,6 +69,7 @@ public abstract class AbstractWebScript extends org.springframework.extensions.w return true; } this.logger.trace("Not authorized: user '{}'; authorities: {}", AuthenticationUtil.getFullyAuthenticatedUser(), AuthenticationUtil.getFullAuthentication().getAuthorities()); return false; } Loading
shared/src/main/resources/alfresco/module/com_inteligr8_alfresco_asie-shared/alfresco-global.properties +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ # defaulting to 3 days = 60 * 24 * 3 = 4320 inteligr8.asie.backup.persistTimeMinutes=4320 inteligr8.asie.allowedAuthorities=ALFRESCO_ADMINISTRATORS inteligr8.asie.allowedAuthorities=GROUP_ALFRESCO_ADMINISTRATORS # same as solr.baseUrl, but that property is private to the Search subsystem inteligr8.asie.basePath=/solr