mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-731: Impossible to add 'read and file' permissions for default categories
* permissions set on the file where not being correct set down the file plan heirarchy git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@55508 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -885,7 +885,8 @@ public class RecordsManagementSecurityServiceImpl implements RecordsManagementSe
|
||||
private void setPermissionDown(NodeRef nodeRef, String authority, String permission)
|
||||
{
|
||||
setPermissionImpl(nodeRef, authority, permission);
|
||||
if (recordsManagementService.isRecordCategory(nodeRef) == true)
|
||||
if (recordsManagementService.isFilePlan(nodeRef) == true ||
|
||||
recordsManagementService.isRecordCategory(nodeRef) == true)
|
||||
{
|
||||
List<ChildAssociationRef> assocs = nodeService.getChildAssocs(nodeRef, ContentModel.ASSOC_CONTAINS, RegexQNamePattern.MATCH_ALL);
|
||||
for (ChildAssociationRef assoc : assocs)
|
||||
|
Reference in New Issue
Block a user