kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

Schema Registry Global Compatibility Button Disabled with RBAC Enabled

Open Namita1823 opened this issue 4 months ago • 2 comments

Issue submitter TODO list

  • [x] I've looked up my issue in FAQ
  • [x] I've searched for an already existing issues here
  • [x] I've tried running master-labeled docker image and the issue still persists there
  • [x] I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

In Kafbat UI, the Schema Registry "Global Compatibility Level" button is greyed out and cannot be enabled when RBAC is turned on in the configuration. With RBAC disabled, the button works normally. Using backend curl commands, the update works even with RBAC enabled. The issue appears only in the UI layer under RBAC.

Expected behavior

The Global Compatibility Level button should be enabled when the logged-in user has the appropriate RBAC permissions. Behavior should match the case when RBAC is disabled.

Your installation details

cd /opt git clone https://github.com/kafbat/kafka-ui.git cd kafka-ui ./mvnw clean package -DskipTests kafka-ui-api/target/kafka-ui-api-.jar cd kafka-ui-react-app npm install npm run build kafka: clusters: - name: local bootstrapServers: "localhost:9092" zookeeper: "localhost:2181" schemaRegistry: "http://localhost:8081" ksqldbServer: "http://localhost:8088" connect: - name: local-connect address: "http://localhost:8083" spring: security: basic: enabled: false java -jar kafka-ui-api/target/kafka-ui-api-*.jar --spring.config.location=file:/opt/kafka-ui/config/application.yml

Steps to reproduce

Deploy Kafbat UI with RBAC enabled in the configuration. Navigate to Schema Registry → Global Compatibility Level in the UI. Observe that the button is disabled (greyed out).

Screenshots

No response

Logs

No response

Additional context

Issue only occurs in the UI layer under RBAC. With RBAC disabled, the functionality works as expected. Backend API calls are functioning correctly regardless of RBAC status.

Namita1823 avatar Aug 23 '25 07:08 Namita1823

Hello there Namita1823! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

github-actions[bot] avatar Aug 23 '25 07:08 github-actions[bot]

@Namita1823 hi, you're raising an issue in a wrong repo: https://github.com/kafbat/kafka-ui Once you raise one in a proper repo, please attach your RBAC configs as well

Haarolean avatar Aug 23 '25 11:08 Haarolean