mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix for issue spotted on forums - LockService.getLocks() was missing a security context definition
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2966 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -449,7 +449,7 @@
|
|||||||
|
|
||||||
<!-- Lock and Unlock require the related aspect specific permissions. Querying the -->
|
<!-- Lock and Unlock require the related aspect specific permissions. Querying the -->
|
||||||
<!-- lock status just requires read access to the node. -->
|
<!-- lock status just requires read access to the node. -->
|
||||||
|
|
||||||
<bean id="LockService_security" class="net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor">
|
<bean id="LockService_security" class="net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor">
|
||||||
<property name="authenticationManager"><ref bean="authenticationManager"/></property>
|
<property name="authenticationManager"><ref bean="authenticationManager"/></property>
|
||||||
<property name="accessDecisionManager"><ref local="accessDecisionManager"/></property>
|
<property name="accessDecisionManager"><ref local="accessDecisionManager"/></property>
|
||||||
@@ -461,6 +461,7 @@
|
|||||||
org.alfresco.service.cmr.lock.LockService.getLockStatus=ACL_NODE.0.sys:base.Read
|
org.alfresco.service.cmr.lock.LockService.getLockStatus=ACL_NODE.0.sys:base.Read
|
||||||
org.alfresco.service.cmr.lock.LockService.getLockType=ACL_NODE.0.sys:base.Read
|
org.alfresco.service.cmr.lock.LockService.getLockType=ACL_NODE.0.sys:base.Read
|
||||||
org.alfresco.service.cmr.lock.LockService.checkForLock=ACL_NODE.0.sys:base.Read
|
org.alfresco.service.cmr.lock.LockService.checkForLock=ACL_NODE.0.sys:base.Read
|
||||||
|
org.alfresco.service.cmr.lock.LockService.getLocks=ACL_NODE.0.sys:base.Read
|
||||||
</value>
|
</value>
|
||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
Reference in New Issue
Block a user