mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-11 20:13:17 +00:00
Minor fix. Replace getParentCommunity() call with parent variable.
This commit is contained in:
@@ -1128,7 +1128,7 @@ public class Community extends DSpaceObject
|
||||
// MUST have either REMOVE permissions on parent community (if exists)
|
||||
// OR have DELETE permissions on current community
|
||||
if (parent!= null && !AuthorizeManager.authorizeActionBoolean(ourContext,
|
||||
getParentCommunity(), Constants.REMOVE))
|
||||
parent, Constants.REMOVE))
|
||||
{
|
||||
// If we don't have Parent Community REMOVE permissions, then
|
||||
// we MUST at least have current Community DELETE permissions
|
||||
|
Reference in New Issue
Block a user