You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Andy Coates (JIRA)" <ji...@apache.org> on 2018/06/18 09:02:00 UTC

[jira] [Created] (KAFKA-7069) AclCommand does not allow 'create' operation on 'topic'

Andy Coates created KAFKA-7069:
----------------------------------

             Summary: AclCommand does not allow 'create'  operation on 'topic'
                 Key: KAFKA-7069
                 URL: https://issues.apache.org/jira/browse/KAFKA-7069
             Project: Kafka
          Issue Type: Bug
          Components: core, security
    Affects Versions: 2.0.0
            Reporter: Andy Coates
            Assignee: Andy Coates


KAFKA-6726 saw [KIP-277|https://cwiki.apache.org/confluence/display/KAFKA/KIP-277+-+Fine+Grained+ACL+for+CreateTopics+API] implemented, which extended the set of operations allowed on the 'topic' resource type to include 'create'.

The AclCommands CLI class currently rejects this new operation. e.g. running:

{{bin/kafka-acls --authorizer-properties zookeeper.connect=localhost:2181 --add --allow-principal User:KSQL --operation create --topic t1}}

Fails with error:

{{ResourceType Topic only supports operations Read,All,AlterConfigs,DescribeConfigs,Delete,Write,Describe}}



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