mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge branch 'feature/RM-6943_AddoToHoldActionInCollabSite' into feature/RM-6945_DisplayActionForHeldAContentInHold
This commit is contained in:
@@ -88,7 +88,7 @@ public class JSONConversionComponent extends org.alfresco.repo.jscript.app.JS
|
||||
private static final String IS_RECORD_CONTRIBUTOR_GROUP_ENABLED = "isRecordContributorGroupEnabled";
|
||||
private static final String RECORD_CONTRIBUTOR_GROUP_NAME = "recordContributorGroupName";
|
||||
private static final String IS_VISIBLE_FOR_CURRENT_USER = "isVisibleForCurrentUser";
|
||||
private static final String IS_ADD_TO_HOLD_AVAILABLE = "isAddToHoldAvailable";
|
||||
private static final String IS_ADD_TO_HOLD_VISIBLE = "isAddToHoldVisible";
|
||||
|
||||
/** true if record contributor group is enabled, false otherwise */
|
||||
private boolean isRecordContributorsGroupEnabled = false;
|
||||
@@ -344,7 +344,7 @@ public class JSONConversionComponent extends org.alfresco.repo.jscript.app.JS
|
||||
|
||||
if (AccessStatus.ALLOWED.equals(permissionService.hasPermission(nodeRef, PermissionService.WRITE)))
|
||||
{
|
||||
rootJSONObject.put(IS_ADD_TO_HOLD_AVAILABLE, true);
|
||||
rootJSONObject.put(IS_ADD_TO_HOLD_VISIBLE, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user