mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge release/V2.4 into master
This commit is contained in:
@@ -171,6 +171,11 @@ public class DeclarativeCapability extends AbstractCapability
|
||||
boolean result = true;
|
||||
NodeRef filePlan = getFilePlanService().getFilePlan(nodeRef);
|
||||
|
||||
if(filePlan == null)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
for (String permission : permissions)
|
||||
{
|
||||
if (permissionService.hasPermission(filePlan, permission) != AccessStatus.ALLOWED)
|
||||
|
Reference in New Issue
Block a user