RM-4357 - updated allowable operations to reflect the edit permissions changes for special containers made in RM-4373

This commit is contained in:
Ana Bozianu
2016-11-16 15:33:11 +02:00
parent 14cde7a0f4
commit abcfede1ae

View File

@@ -224,8 +224,7 @@ public class RMNodesImpl extends NodesImpl implements RMNodes
}
// UPDATE
if ( !isTransferContainer && !isUnfiledContainer && !isHoldsContainer &&
capabilityService.getCapability("Update").evaluate(nodeRef) == AccessDecisionVoter.ACCESS_GRANTED)
if (capabilityService.getCapability("Update").evaluate(nodeRef) == AccessDecisionVoter.ACCESS_GRANTED)
{
allowableOperations.add(OP_UPDATE);
}