Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-792

after enabling access manager, I can't createNode and setProperty without a node.save in the middle

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9, 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3
    • Fix Version/s: 1.3
    • Component/s: security
    • Labels:
      None

      Description

      I added my own access manager. after that I can't get the following code working

      Node n = createNewNode(parentNode);
      n.setProperty();
      parentNode.save();

      It seems that setProperty will invoke access control check, but since the new node is not in the repository yet, my access manager implementation won't be able to grant permission. I also tried to use hierachyManager to get the path of the new node, it also returned null.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stefan@jira Stefan Guggisberg
                Reporter:
                xilu1999 Xiaohua Lu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: