mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
[DS-242] Special groups shown for logged in user rather than for user being examined
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4904 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -479,7 +479,7 @@ public class Group extends DSpaceObject
|
||||
// However, we only do this is we are looking up the special groups
|
||||
// of the current user, as we cannot look up the special groups
|
||||
// of a user who is not logged in.
|
||||
if ((c.getCurrentUser() != null) && (c.getCurrentUser().getID() == e.getID()))
|
||||
if ((c.getCurrentUser() == null) || (((c.getCurrentUser() != null) && (c.getCurrentUser().getID() == e.getID()))))
|
||||
{
|
||||
Group[] specialGroups = c.getSpecialGroups();
|
||||
for(Group special : specialGroups)
|
||||
|
@@ -19,7 +19,7 @@
|
||||
- [DS-527] Withdrawn items not shown as deleted in OAI
|
||||
- [DS-548] Removing repeatable values in DescribeStep does not properly test for authority control
|
||||
|
||||
(Claudia J<EFBFBD>rgen)
|
||||
(Claudia Jürgen)
|
||||
- [DS-558] Error in update sequence script 1.5 to 1.6 Oracle
|
||||
- [DS-551] Export directories dspace.cfg and build.xml out of sync
|
||||
- [DS-543] Harvest not internationalized
|
||||
@@ -39,6 +39,7 @@
|
||||
- [DS-539] Misspelled attribute in MODS/METS output
|
||||
|
||||
(Stuart Lewis)
|
||||
- [DS-242] Special groups shown for logged in user rather than for user being examined
|
||||
- [DS-506] embargo-lifter command missing from launcher.xml
|
||||
- [DS-526] ItemUpdate - script update
|
||||
|
||||
|
Reference in New Issue
Block a user