Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-49

SetACL does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • server
    • None

    Description

      As reported by Shane:

      Still exploring the ACL stuff in Zookeeper. Tried using setACL for a
      path but get InvalidACL error thrown .... looking at pRequest in
      PrepRequestProcessor ... and in particular these lines ...

      SetACLRequest setAclRequest = new SetACLRequest();
      if (!fixupACL(request.authInfo,
      setAclRequest.getAcl()))

      { throw new KeeperException(Code.InvalidACL); }

      a new SetACLRequest will return a null when called in fixupACL
      returning false and throwing the exception .... as far as I can see.

      Attachments

        Issue Links

          Activity

            People

              breed Benjamin Reed
              breed Benjamin Reed
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: