Index: main/plugin-web/src/org/ametys/web/pageaccess/ContentAccessManager.java =================================================================== --- main/plugin-web/src/org/ametys/web/pageaccess/ContentAccessManager.java (revision 37442) +++ main/plugin-web/src/org/ametys/web/pageaccess/ContentAccessManager.java (working copy) @@ -208,7 +208,6 @@ { Set currentGrantedUsers = currentAccessInfo.getGrantedUsers(); Set currentGrantedGroups = currentAccessInfo.getGrantedGroups(); - boolean currentAllowAnyConnectedUser = currentAccessInfo.allowAnyConnectedUser(); for (Page referencingPage : content.getReferencingPages()) { @@ -220,9 +219,9 @@ Set refGrantedGroups = refAccessInfo.getGrantedGroups(); boolean refAllowAnyConnectedUser = refAccessInfo.allowAnyConnectedUser(); - if (CollectionUtils.containsAny(currentGrantedUsers, refGrantedUsers) - || CollectionUtils.containsAny(currentGrantedGroups, refGrantedGroups) - || (currentAllowAnyConnectedUser && refAllowAnyConnectedUser)) + if (refAllowAnyConnectedUser + || CollectionUtils.containsAny(currentGrantedUsers, refGrantedUsers) + || CollectionUtils.containsAny(currentGrantedGroups, refGrantedGroups)) { // The content is referenced by a page accessible to the same access as the current one: display the content. return true;