mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM-2028 Create a rest API to get classification reasons
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@101049 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -44,10 +44,12 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- FIXME: We have to restrict methods in the classification service (with capabilities, etc.) -->
|
||||
<bean id="ClassificationService_security" parent="baseSecurity">
|
||||
<property name="objectDefinitionSource">
|
||||
<value>
|
||||
org.alfresco.module.org_alfresco_module_rm.classification.ClassificationService.getClassificationLevels=ACL_ALLOW
|
||||
org.alfresco.module.org_alfresco_module_rm.classification.ClassificationService.getClassificationReasons=ACL_ALLOW
|
||||
org.alfresco.module.org_alfresco_module_rm.classification.ClassificationService.*=ACL_DENY
|
||||
</value>
|
||||
</property>
|
||||
|
@@ -653,6 +653,6 @@
|
||||
<bean id="webscript.org.alfresco.rma.classification.reasons.get"
|
||||
class="org.alfresco.module.org_alfresco_module_rm.script.classification.ReasonsGet"
|
||||
parent="rmBaseWebscript">
|
||||
<property name="classificationService" ref="classificationService" /> <!-- TODO Change to "C" -->
|
||||
<property name="classificationService" ref="ClassificationService" />
|
||||
</bean>
|
||||
</beans>
|
Reference in New Issue
Block a user