cancel
Showing results for 
Search instead for 
Did you mean: 

unlock with admin user

vincent-kali
Star Contributor
Star Contributor
Hi all,

Is an alfresco administrator supposed to be able to unlock (cancel editing) a file from share
which was locked by another user ?

Any solution to do that ?

Thanks
Vincent

3 REPLIES 3

sujaypillai
Confirmed Champ
Confirmed Champ
You should have the option for Cancel Editing under docAction's [Refer the attached screenshot]

s_palyukh
Star Contributor
Star Contributor
Hi,

if you want to do it from code (Alfresco side):


//repo webscript

scriptNode.unlock()





//java

getLockService().unlock(nodeRef);

thanks for your feedback.
In fact this works when using PERSISTENT locks, but no way to unlock on behalf of other user when content is locked
using EPHEMERAL lock. I'm working on it. LockStore service code override is needed.
Vincent