zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-1392) Should not allow to read ACL when not authorized to read node
Date Wed, 06 Feb 2019 21:16:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16762151#comment-16762151
] 

Hudson commented on ZOOKEEPER-1392:
-----------------------------------

SUCCESS: Integrated in Jenkins build ZooKeeper-trunk #388 (See [https://builds.apache.org/job/ZooKeeper-trunk/388/])
ZOOKEEPER-1392: Request READ or ADMIN permission for getAcl() (andor: rev af741cb319d4760cfab1cd3b560635adacd8deca)
* (edit) zookeeper-server/src/main/java/org/apache/zookeeper/server/FinalRequestProcessor.java
* (add) zookeeper-server/src/test/java/org/apache/zookeeper/server/FinalRequestProcessorTest.java
* (edit) zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md


> Should not allow to read ACL when not authorized to read node
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1392
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1392
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.4.2
>            Reporter: Thomas Weise
>            Assignee: Bruce Gao
>            Priority: Major
>             Fix For: 3.6.0, 3.5.5, 3.4.14
>
>         Attachments: ZOOKEEPER-1392.patch
>
>
> Not authorized to read, yet still able to list ACL:
> [zk: localhost:2181(CONNECTED) 0] getAcl /sasltest/n4
> 'sasl,'notme@EXAMPLE.COM
> : cdrwa
> [zk: localhost:2181(CONNECTED) 1] get /sasltest/n4
> Exception in thread "main" org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode
= NoAuth for /sasltest/n4
> 	at org.apache.zookeeper.KeeperException.create(KeeperException.java:113)
> 	at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
> 	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1131)
> 	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1160)
> 	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:711)
> 	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:593)
> 	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:365)
> 	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323)
> 	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message