Second and final tranche of post-code-review changes for RM-1945 & RM-1946.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@100094 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Neil McErlean
2015-03-25 19:39:09 +00:00
parent 0d4ed55675
commit 5ae80ab2b1
4 changed files with 11 additions and 8 deletions

View File

@@ -60,7 +60,6 @@
<value>alfresco.module.org_alfresco_module_rm.messages.dataset-service</value>
<value>alfresco.module.org_alfresco_module_rm.messages.rm-system</value>
<value>alfresco.module.org_alfresco_module_rm.messages.template</value>
<value>alfresco.module.org_alfresco_module_rm.messages.rm-classification</value>
</list>
</property>
</bean>

View File

@@ -41,10 +41,8 @@
<bean id="ClassificationService_security" parent="baseSecurity">
<property name="objectDefinitionSource">
<value>
<![CDATA[
org.alfresco.module.org_alfresco_module_rm.classification.ClassificationService.getClassificationLevels=RM_ALLOW
org.alfresco.module.org_alfresco_module_rm.classification.ClassificationService.*=RM_DENY
]]>
org.alfresco.module.org_alfresco_module_rm.classification.ClassificationService.getClassificationLevels=ACL_ALLOW
org.alfresco.module.org_alfresco_module_rm.classification.ClassificationService.*=ACL_DENY
</value>
</property>
</bean>
@@ -55,4 +53,12 @@
<constructor-arg ref="classificationService"/> <!-- Intentionally using the small 'c' here -->
<constructor-arg ref="TransactionService"/>
</bean>
<bean id="rmClassificationResourceBundles" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
<property name="resourceBundles">
<list>
<value>alfresco.module.org_alfresco_module_rm.messages.rm-classification</value>
</list>
</property>
</bean>
</beans>

View File

@@ -36,5 +36,5 @@ public interface ClassificationService
* (where fewer users have access to the highest classification levels
* and therefore access to the most restricted documents).
*/
public List<ClassificationLevel> getClassificationLevels();
List<ClassificationLevel> getClassificationLevels();
}

View File

@@ -28,8 +28,6 @@ import java.util.ArrayList;
import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
/**
* Unit tests for {@link ClassificationServiceImpl}.