mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
DOD Recert: Allow permissions to be set on the file plan node (so that Dan and Jan can create root categories)
* Merge HEAD to DEV/DODCERT - r43798 RM-552 (Add 'Manage Permission' action to file plan toolbar) - r43859 RM-552 (Add 'Manage Permission' action to file plan toolbar) * Changed the icons - r43863 RM-552 (Add 'Manage Permission' action to file plan toolbar) * Changed the existing ManageAccessRights capability and reusing it git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/DODRECERT@50933 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -830,9 +830,12 @@ public class RecordsManagementSecurityServiceImpl implements RecordsManagementSe
|
||||
AuthenticationUtil.runAs(new AuthenticationUtil.RunAsWork<Object>()
|
||||
{
|
||||
public Boolean doWork() throws Exception
|
||||
{
|
||||
if (recordsManagementService.isFilePlan(nodeRef) == false &&
|
||||
recordsManagementService.isRecordCategory(nodeRef) == true)
|
||||
{
|
||||
if (recordsManagementService.isFilePlan(nodeRef) == true)
|
||||
{
|
||||
setPermissionDown(nodeRef, authority, permission);
|
||||
}
|
||||
else if (recordsManagementService.isRecordCategory(nodeRef) == true)
|
||||
{
|
||||
setReadPermissionUp(nodeRef, authority);
|
||||
setPermissionDown(nodeRef, authority, permission);
|
||||
|
Reference in New Issue
Block a user