diff --git a/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/classification/ContentClassificationServiceImpl.java b/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/classification/ContentClassificationServiceImpl.java index 788db4397b..1c31e4660b 100644 --- a/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/classification/ContentClassificationServiceImpl.java +++ b/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/classification/ContentClassificationServiceImpl.java @@ -127,14 +127,14 @@ public class ContentClassificationServiceImpl extends ServiceBaseImpl implements properties.put(PROP_CLASSIFICATION_REASONS, classificationReasons); // Add aspect - authenticationUtil.runAsSystem(new RunAsWork() + authenticationUtil.runAs(new RunAsWork() { public Void doWork() { nodeService.addAspect(content, ASPECT_CLASSIFIED, properties); return null; } - }); + }, authenticationUtil.getAdminUserName()); } @Override