ilgrosso commented on a change in pull request #176:
URL: https://github.com/apache/syncope/pull/176#discussion_r411940454



##########
File path: 
core/am/logic/src/main/java/org/apache/syncope/core/logic/AuthModuleLogic.java
##########
@@ -60,7 +59,8 @@ public AuthModuleTO update(final AuthModuleTO authModuleTO) {
         return 
binder.getAuthModuleTO(authModuleDAO.save(binder.update(authModule, 
authModuleTO)));
     }
 
-    @PreAuthorize("hasRole('" + AMEntitlement.AUTH_MODULE_LIST + "')")
+    @PreAuthorize("isAnonymous() or hasRole('" + AMEntitlement.AUTH_MODULE_LIST

Review comment:
       Hum I don't see any reason to apply such a change: what's the rationale, 
please?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to