mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1585 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -441,6 +441,12 @@ public class Group extends DSpaceObject
|
||||
|
||||
tri.close();
|
||||
|
||||
// Also need to get all "Special Groups" user is a member of!
|
||||
// Otherwise, you're ignoring the user's membership to these groups!
|
||||
Group[] specialGroups = c.getSpecialGroups();
|
||||
for(int j=0; j<specialGroups.length;j++)
|
||||
groupIDs.add(new Integer(specialGroups[j].getID()));
|
||||
|
||||
// now we have all owning groups, also grab all parents of owning groups
|
||||
// yes, I know this could have been done as one big query and a union,
|
||||
// but doing the Oracle port taught me to keep to simple SQL!
|
||||
|
Reference in New Issue
Block a user