You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2017/02/12 15:10:31 UTC
kafka git commit: MINOR: Update comment in SimpleAclAuthorizer to
have correct JSON format
Repository: kafka
Updated Branches:
refs/heads/trunk 8bc9d5839 -> 260d487cd
MINOR: Update comment in SimpleAclAuthorizer to have correct JSON format
`ConsumerGroup` should be `Group`.
Author: Dustin Cote <du...@confluent.io>
Reviewers: Ismael Juma <is...@juma.me.uk>
Closes #2534 from cotedm/acl-znode-correction
Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/260d487c
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/260d487c
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/260d487c
Branch: refs/heads/trunk
Commit: 260d487cdd689c9689b7f4ddcc67978ed72ab413
Parents: 8bc9d58
Author: Dustin Cote <du...@confluent.io>
Authored: Sun Feb 12 07:08:46 2017 -0800
Committer: Ismael Juma <is...@juma.me.uk>
Committed: Sun Feb 12 07:08:55 2017 -0800
----------------------------------------------------------------------
.../src/main/scala/kafka/security/auth/SimpleAclAuthorizer.scala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kafka/blob/260d487c/core/src/main/scala/kafka/security/auth/SimpleAclAuthorizer.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/kafka/security/auth/SimpleAclAuthorizer.scala b/core/src/main/scala/kafka/security/auth/SimpleAclAuthorizer.scala
index a0e7294..7ae4796 100644
--- a/core/src/main/scala/kafka/security/auth/SimpleAclAuthorizer.scala
+++ b/core/src/main/scala/kafka/security/auth/SimpleAclAuthorizer.scala
@@ -46,14 +46,14 @@ object SimpleAclAuthorizer {
val AllowEveryoneIfNoAclIsFoundProp = "allow.everyone.if.no.acl.found"
/**
- * The root acl storage node. Under this node there will be one child node per resource type (Topic, Cluster, ConsumerGroup).
+ * The root acl storage node. Under this node there will be one child node per resource type (Topic, Cluster, Group).
* under each resourceType there will be a unique child for each resource instance and the data for that child will contain
* list of its acls as a json object. Following gives an example:
*
* <pre>
* /kafka-acl/Topic/topic-1 => {"version": 1, "acls": [ { "host":"host1", "permissionType": "Allow","operation": "Read","principal": "User:alice"}]}
* /kafka-acl/Cluster/kafka-cluster => {"version": 1, "acls": [ { "host":"host1", "permissionType": "Allow","operation": "Read","principal": "User:alice"}]}
- * /kafka-acl/ConsumerGroup/group-1 => {"version": 1, "acls": [ { "host":"host1", "permissionType": "Allow","operation": "Read","principal": "User:alice"}]}
+ * /kafka-acl/Group/group-1 => {"version": 1, "acls": [ { "host":"host1", "permissionType": "Allow","operation": "Read","principal": "User:alice"}]}
* </pre>
*/
val AclZkPath = "/kafka-acl"