Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4693

Impersonating users can't unlock nodes

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.5.8
    • None
    • jcr
    • None

    Description

      An impersonating user can lock a node, but can't unlock a node. Relaxed locking was introduced in OAK-1329,
      but SessionImpl.impersonate() can't pass the attributes to the RepositoryImpl.login() method.

      return getRepository().login(impCreds, sd.getWorkspaceName());
      

      An attempt to unlock a node when impersonating will result in a failure since "oak.relaxed-locking" is not set.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Zyg Zygmunt Wiercioch
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: