mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +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")
|
@SuppressWarnings("unchecked")
|
||||||
private JSONObject setRmNodeValues(final NodeRef nodeRef, final boolean useShortQName)
|
private JSONObject setRmNodeValues(final NodeRef nodeRef, final boolean useShortQName)
|
||||||
{
|
|
||||||
return AuthenticationUtil.runAsSystem(new RunAsWork<JSONObject>()
|
|
||||||
{
|
|
||||||
public JSONObject doWork()
|
|
||||||
{
|
{
|
||||||
JSONObject rmNodeValues = new JSONObject();
|
JSONObject rmNodeValues = new JSONObject();
|
||||||
|
|
||||||
@@ -366,8 +362,6 @@ public class JSONConversionComponent extends org.alfresco.repo.jscript.app.JSONC
|
|||||||
|
|
||||||
return rmNodeValues;
|
return rmNodeValues;
|
||||||
}
|
}
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
private void setIndicators(JSONObject rmNodeValues, NodeRef nodeRef)
|
private void setIndicators(JSONObject rmNodeValues, NodeRef nodeRef)
|
||||||
|
Reference in New Issue
Block a user