-
Issue submitter TODO list
Describe the bug (actual behavior)Hi all, I would want to configure RBAC but I'm still facing issues. I can access on KafkaUI through our LDAP without problem, but introducing roles.yml I can log in but no clusters/resources are visible in the UI. Looking at documentation I wasn't able to solve this on my own. Sorry if it's my fault. Thanks a lot. Expected behaviorI would want to be able to configure RBAC with LDAP, but no success. Your installation detailsAPP version 0.7.0 CONFIG: compose.yml
roles.yml
Steps to reproduceENABLING roles through "roles.yml" I can log in but no permissions granted. ScreenshotsNo response LogsUsing DEBUG LEVEL I can see RIGHT Granted Authorities linked to my user:
All Granted Authorities are right and associated to my user. Calling /api/clusters context I'll receive an empty array when roles enabled.
Looking for ISSUES in LOGS at DEBUG LEVEL I can see just this:
All other context are authorized with "Authorization successful". Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
I can add an info after more investigation. When roles disabled call on /api/clusters gives back a JSON:
If roles enabled no JSON is given back even if Authorization successful.
|
Beta Was this translation helpful? Give feedback.
-
Hi Kafka-UI team :)
|
Beta Was this translation helpful? Give feedback.
-
Hey, LDAP authorities currently are bound as-is for role names, not the ldap' subject values, so, for now, you can rename your role ( |
Beta Was this translation helpful? Give feedback.
@MxFbk
Hey, LDAP authorities currently are bound as-is for role names, not the ldap' subject values, so, for now, you can rename your role (
- name: "itop"
to one of the authorities you have). We've changed things back and forth which led to this behavior, but we're planning to get both (matching via role name and subject) in 0.7.1.