Create button visible in ACL list despite read-only mode #800
Labels
area/acl
status/triage/completed
Automatic triage completed
status/triage/manual
Manual triage in progress
type/bug
Something isn't working
Issue submitter TODO list
main
-labeled docker image and the issue still persists thereDescribe the bug (actual behavior)
When I navigate to the ACL page in a cluster with active read-only mode, I can see a disabled "Create ACL" button. When I move my mouse over it, I can see the message "You don't have a required permission to perform this action".
Expected behavior
I expected this button not to be visible at all. This would be consistent with the lists for topics and schemas in read-only mode.
Your installation details
I'm using the Docker image ghcr.io/kafbat/kafka-ui:v1.1.0 and mount a
application.yml
file as volume to configure the application.Steps to reproduce
Screenshots
Logs
No response
Additional context
I could find this button in the code and don't see any
isReadOnly
checks as for other components:https://github.com/kafbat/kafka-ui/blob/main/frontend/src/components/ACLPage/List/List.tsx#L153
I'm unsure if the following issue is related: #230
The text was updated successfully, but these errors were encountered: