cancel
Showing results for 
Search instead for 
Did you mean: 

Disable checkin permission for owner

ruudwinter
Champ in-the-making
Champ in-the-making
I have 2 users with roles Collaborator.
The first user creates a file.
The second user checks out the file.
The first user can still undo the checkout, which is not desirable, how could I prevent that?

I tried to skip the rights of "owners", but it did not help:

<globalPermission permission="FullControl" authority="ROLE_ADMINISTRATOR"/>
<!– <globalPermission permission="FullControl" authority="ROLE_OWNER"/> –>
<globalPermission permission="Unlock" authority="ROLE_LOCK_OWNER"/>
<globalPermission permission="CheckIn" authority="ROLE_LOCK_OWNER"/>
<globalPermission permission="CancelCheckOut" authority="ROLE_LOCK_OWNER"/>
1 REPLY 1

benw
Champ in-the-making
Champ in-the-making
Hi Ruud,

Did you ever manage to find a solution to this problem? We're having the same issue, which isn't exactly ideal since Alfresco is meant to be our document management system..

Edit: Following some nosing around in the source code - we can't see anywhere that actually checks whether the user actually created the locks or not - it almost looks to just clear it? We may have missed something as this seems pretty fundamental but would be interesting to see if other people reach the same conclusion.. The affected classes are:

http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/source/jav...
http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/source/jav...

Thanks,

Ben