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:
Tuna Aksoy
2015-04-24 14:23:03 +00:00
parent 9a558be701
commit bcd7cfe912

View File

@@ -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)