julie icon indicating copy to clipboard operation
julie copied to clipboard

RBAC - Add possibility to change consumersGroup role

Open damien-malescot opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. In JulieOps all consumersGroup's binding are set to RESOURCE_OWNER. It will be great to add ability to change consumersGroup role in topology files.

Describe the solution you'd like Here : https://github.com/kafka-ops/julie/blob/master/src/main/java/com/purbon/kafka/topology/roles/rbac/RBACBindingsBuilder.java#L151

In topology we would like to be able to change group-role like this

    consumers:
      - principal: "Group:CONSUMER_READ"
        group-role: DeveloperRead
      - principal: "Group:CONSUMER_VIEW"
        group-role: DeveloperRead

If group-role is not set, fallback to default : RESOURCE_OWNER

damien-malescot avatar Jul 29 '22 09:07 damien-malescot