provectus / kafka-ui

Open-Source Web UI for Apache Kafka Management
Apache License 2.0
8.97k stars 1.1k forks source link

User is able to change cluster configuration in Read Only mode #4400

Closed ravindraprasad85 closed 3 months ago

ravindraprasad85 commented 4 months ago

Issue submitter TODO list

Describe the bug (actual behavior)

I am running the Kafka cluster in read only mode in kafka-ui config. However, user is able to change the cluster configuration. Yes, Topics are fine in read only mode . There is no such feature to add user with view rights till now . IT would be really great if that feature can be added and release in upcoming version.

Expected behavior

All the cluster should be in read only mode for kafka-ui user .

Your installation details

Kafla-ui 0.7.1

Steps to reproduce

Run the Kafka-ui in Read Only mode

Screenshots

No response

Logs

No response

Additional context

No response

Haarolean commented 4 months ago

@ravindraprasad85 does it actually work if you edit the config and try to save the changes?

ravindraprasad85 commented 4 months ago

It was my mistake , Everything running as expected.

Thanks Ravindra Prasad 7827979144

On Wed, 6 Mar 2024 at 11:20 PM, Roman Zabaluev @.***> wrote:

@ravindraprasad85 https://github.com/ravindraprasad85 does it actually work if you edit the config and try to save the changes?

— Reply to this email directly, view it on GitHub https://github.com/provectus/kafka-ui/issues/4400#issuecomment-1981465525, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7O5DJNTWI7JTJBEDDKAL3YW5JPPAVCNFSM6AAAAABEI5Q4XWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBRGQ3DKNJSGU . You are receiving this because you were mentioned.Message ID: @.***>

shobitgg commented 3 months ago

I am running the Kafka cluster in read only mode in kafka-ui config. However, user is able to change the cluster configuration. Yes, Topics are fine in read only mode . There is no such feature to add user with view rights till now . IT would be really great if that feature can be added and release in upcoming version.

@Haarolean what changes should we make in the config to make sure the cluster config option is not visible for all users , can we also have admin and read only users directly from uiforkafka config .. can you pls give detailed steps changes to be made to see the UI in read only mode

shobitgg commented 3 months ago

@ravindraprasad85 what changes did you make to enable pure read only , currently I have enabled read only , but the users are able to see the configure option