Skip to content

Commit

Permalink
Rebase on upstream/master (this commit will be squashed later)
Browse files Browse the repository at this point in the history
 - Fix due to change in API around ACL checking in request processor
  • Loading branch information
Marco Primi committed Feb 15, 2017
1 parent 2c51e7a commit 0484ea9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -436,9 +436,9 @@ public void processRequest(Request request) {
synchronized(n) {
aclG = n.acl;
}
PrepRequestProcessor.checkACL(zks, zks.getZKDatabase().convertLong(aclG),
PrepRequestProcessor.checkACL(zks, request.cnxn, zks.getZKDatabase().aclForNode(n),
ZooDefs.Perms.READ,
request.authInfo);
request.authInfo, getChildrenPaginatedRequest.getPath(), null);
final int maxReturned = getChildrenPaginatedRequest.getMaxReturned();
List<PathWithStat> list = zks.getZKDatabase().getPaginatedChildren(
getChildrenPaginatedRequest.getPath(), stat,
Expand Down

0 comments on commit 0484ea9

Please sign in to comment.