Description
Currently it's not possible for an admin user to unlock another user's node:
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)
I think this case was simply forgotten after OAK-1329.