mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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();
|
||||
}
|
||||
|
@@ -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}.
|
||||
|
Reference in New Issue
Block a user