mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-19 07:53:08 +00:00
DS-4534 fix for Anonymous as a sub-group.
This commit is contained in:
@@ -189,7 +189,8 @@ public class GroupServiceImpl extends DSpaceObjectServiceImpl<Group> implements
|
||||
return false;
|
||||
|
||||
// special, everyone is member of group 0 (anonymous)
|
||||
} else if (StringUtils.equals(group.getName(), Group.ANONYMOUS)) {
|
||||
} else if (StringUtils.equals(group.getName(), Group.ANONYMOUS) ||
|
||||
isParentOf(context, group, findByName(context, Group.ANONYMOUS))) {
|
||||
return true;
|
||||
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user