Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-4289

Support multiple operations per ACLRule

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • 2.3.0.GA
    • None
    • None
    • None
    • False
    • None
    • False
    • If Release Note Needed, Set a Value
    • Set a Value

      Is your feature request related to a problem? Please describe.
      Currently I need to add a new ACLRule for every operation I want to permit. The KafkaUser CRD is getting very long this way when the user needs read and write access to a lot of topics.

      Describe the solution you'd like
      Replace operation by operations (or add this field) and allow to pass an array to it.

      Describe alternatives you've considered
      Comma separated lists… no!

      Additional context
      Example:

          acls:
          # topic1
            - resource:
                type: topic
                name: topic1
                patternType: literal
              operation: Read
      
            - resource:
                type: topic
                name: topic1
                patternType: literal
              operation: Write
      
          # topic2 
            - resource:
                type: topic
                name: topic2
                patternType: literal
              operation: Read
      
            - resource:
                type: topic
                name: topic2
                patternType: literal
              operation: Read 

      New way:

          acls:
            - resource:
                type: topic
                name: topic1
                patternType: literal
              operations: ["Read","Write"]
      
            - resource:
                type: topic
                name: topic2
                patternType: literal
              operation: ["Read","Write"] 

      Created by Strimzi#1671

              Unassigned Unassigned
              scholzj JAkub Scholz
              Jakub Stejskal Jakub Stejskal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: