mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-6943 code review changes
This commit is contained in:
@@ -87,7 +87,6 @@ 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_VISIBLE = "isAddToHoldVisible";
|
||||
|
||||
/** true if record contributor group is enabled, false otherwise */
|
||||
private boolean isRecordContributorsGroupEnabled = false;
|
||||
@@ -329,11 +328,6 @@ public class JSONConversionComponent extends org.alfresco.repo.jscript.app.JS
|
||||
rootJSONObject.put(IS_VISIBLE_FOR_CURRENT_USER, hasFilingPermission);
|
||||
}
|
||||
}
|
||||
|
||||
if (AccessStatus.ALLOWED.equals(permissionService.hasPermission(nodeRef, PermissionService.WRITE)))
|
||||
{
|
||||
rootJSONObject.put(IS_ADD_TO_HOLD_VISIBLE, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user