You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2014/04/24 14:01:23 UTC

[jira] [Resolved] (OAK-1765) An admin user should be able to unlock any node

     [ https://issues.apache.org/jira/browse/OAK-1765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu resolved OAK-1765.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0
         Assignee: Alex Parvulescu

patch applied with rev http://svn.apache.org/r1589682
and merged to 1.0 with rev http://svn.apache.org/r1589684

> An admin user should be able to unlock any node
> -----------------------------------------------
>
>                 Key: OAK-1765
>                 URL: https://issues.apache.org/jira/browse/OAK-1765
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>             Fix For: 1.0
>
>         Attachments: OAK-1765.patch
>
>
> Currently it's not possible for an admin user to unlock another user's node:
> {code}
> Caused by: javax.jcr.lock.LockException: Not an owner of the lock /path/to/node
> at org.apache.jackrabbit.oak.jcr.lock.LockManagerImpl$8.perform(LockManagerImpl.java:180)
> at org.apache.jackrabbit.oak.jcr.lock.LockManagerImpl$8.perform(LockManagerImpl.java:168)
> at org.apache.jackrabbit.oak.jcr.lock.LockOperation.perform(LockOperation.java:68)
> at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:308)
> at org.apache.jackrabbit.oak.jcr.lock.LockManagerImpl.perform(LockManagerImpl.java:199)
> at org.apache.jackrabbit.oak.jcr.lock.LockManagerImpl.unlock(LockManagerImpl.java:168)
> at org.apache.jackrabbit.oak.jcr.session.NodeImpl.unlock(NodeImpl.java:1190)
> {code}
> I think this case was simply forgotten after OAK-1329.



--
This message was sent by Atlassian JIRA
(v6.2#6252)