You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was wondering if it was possible to restrict topics-filter-regexp to the roles it's being assigned to.
For example, I'd like to set the below configuration:
akhq:
security:
default-group: no-rolesgroups:
dev-reader:
name: dev-reader # an example of a dev user that has read permissions to kafkahqroles:
- topic/read
- node/read
- group/read
- acls/read
- registry/read
- connect/readattributes:
- topics-filter-regexp: ".*"ops-reader: # an example of an ops user that has options to read from kconnect topic dataname: ops-readerroles:
- topic/data/readattributes:
- topics-filter-regexp: "^kconnect.*$"ldap:
default-group: no-rolesgroups:
- name: opsgroups:
- ops-reader
- name: devgroups:
- dev-reader
The current behavior of the above is if a user posses both ldap groups, they are granted topic/data/read on every topic. My expectation of the above configuration is to grant the user read access to browse all topic configurations, but to only provide data read access to topics starting with kconnect. Maybe im configuring it wrong.
Thanks!
The text was updated successfully, but these errors were encountered:
Thanks for the reply! I left a comment in that discussion. I'd be willing to contribute if you have a good path in mind for how you'd like to represent the security block in application.yaml. Mentioned my preference in the discussion ;)
Hi, I was wondering if it was possible to restrict
topics-filter-regexp
to the roles it's being assigned to.For example, I'd like to set the below configuration:
The current behavior of the above is if a user posses both ldap groups, they are granted
topic/data/read
on every topic. My expectation of the above configuration is to grant the user read access to browse all topic configurations, but to only provide data read access to topics starting withkconnect
. Maybe im configuring it wrong.Thanks!
The text was updated successfully, but these errors were encountered: