mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-2191 ("Create Category" and "Manage Permissions" buttons are enabled for user with read-only permissions)
+review RM @rwetherall git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2.1.x@102636 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -330,10 +330,6 @@ public class JSONConversionComponent extends org.alfresco.repo.jscript.app.JSONC
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
private JSONObject setRmNodeValues(final NodeRef nodeRef, final boolean useShortQName)
|
||||
{
|
||||
return AuthenticationUtil.runAsSystem(new RunAsWork<JSONObject>()
|
||||
{
|
||||
public JSONObject doWork()
|
||||
{
|
||||
JSONObject rmNodeValues = new JSONObject();
|
||||
|
||||
@@ -366,8 +362,6 @@ public class JSONConversionComponent extends org.alfresco.repo.jscript.app.JSONC
|
||||
|
||||
return rmNodeValues;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private void setIndicators(JSONObject rmNodeValues, NodeRef nodeRef)
|
||||
|
Reference in New Issue
Block a user