Skip to content

FE: Create ACL button is active in r/o cluster #1312

@ompraash

Description

@ompraash

Issue submitter TODO list

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

Describe the bug (actual behavior)

Kafka-UI is marked in read only mode; and notice the ACL screen which displays all ACL's has the button for Create ACL enabled. The user tries to click and on submit the screen errors as Cluster is read only.

Expected behavior

If the KafkaUI config is marked as ReadOnly; then the button should be disabled. Similar to when you select a topic and if readonly is the UI setup for; the button Produce Message is disabled.

Your installation details

Using app release commit - 371be00

Steps to reproduce

following the document - https://ui.docs.kafbat.io/configuration/rbac-role-based-access-control#example-file
RBAC example of READONLY; any cluster ACL screen displays the button as active.

Screenshots

No response

Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions