RM-999: Hold and Transfers are displayed for ExtendedReaders, ExtendedWriters

* remove in-place roles from the 'all roles' group .. now in-place readers and writers can't gain access to items just because they have a role!
 * patch to remove in-place roles from all group in existing installations
 * unit test for patch



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73532 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2014-06-11 05:31:06 +00:00
parent 2b1a2718d9
commit 9d838376b7
13 changed files with 325 additions and 52 deletions

View File

@@ -9,7 +9,7 @@
<property name="description" value="RM patch executer"/>
<property name="sinceVersion" value="2.2"/>
<property name="executeOnceOnly" value="false"/>
<property name="moduleSchema" value="1007"/>
<property name="moduleSchema" value="1008"/>
<property name="attributeService" ref="AttributeService" />
<property name="dependsOn">
<list>
@@ -34,7 +34,7 @@
<!-- compatibility beans -->
<!-- @depracted since 2.2 -->
<!-- @deprecated since 2.2 -->
<bean id="rm.baseModulePatch" abstract="true" parent="module.baseComponent" init-method="init">
<property name="retryingTransactionHelper" ref="retryingTransactionHelper"/>
<property name="behaviourFilter" ref="policyBehaviourFilter" />

View File

@@ -80,5 +80,16 @@
<property name="filePlanRoleService" ref="FilePlanRoleService"/>
<property name="capabilityService" ref="CapabilityService"/>
</bean>
<bean id="rm.removeInPlaceRolesFromAllPatch"
parent="rm.parentModulePatch"
class="org.alfresco.module.org_alfresco_module_rm.patch.v22.RMv22RemoveInPlaceRolesFromAllPatch">
<property name="description" value="Remove in-place roles from 'all roles' group."/>
<property name="fixesToSchema" value="1007"/>
<property name="targetSchema" value="1008"/>
<property name="filePlanService" ref="FilePlanService"/>
<property name="filePlanRoleService" ref="FilePlanRoleService"/>
<property name="authorityService" ref="AuthorityService"/>
</bean>
</beans>