[RBAC] Deny access to user with no permissions
Might be taken into work after the #753
Which version of the app are you running?
Is your proposal related to a problem?
User, that can pass the authentication, gets to the page with no clusters on it. Which is a bit strange.
Describe the solution you'd like
User with no permissions on any cluster, should be declined access instead.
Describe alternatives you've considered
Separate page with "No permissions provided for the user! Contact your administrator for support" message
Additional context
Hey @Haarolean I would like to take this up.
I would need some help understanding how to replicate this issue. I will try to write whatever I understand, please correct me if I'm wrong.
In order for me to replicate the issue,
- I have to set up the project with RBAC enabled, will refer to this
- Create a user which has no permissions
- Try to open the dashboard
@sarkarshuvojit yeah, basically, just log in as any user which will have no applicable subjects. Feel free to ping me on discord again if you encounter any problems with that.
@sarkarshuvojit any updates?
Any updates?
@volodya953 #4255 -> https://github.com/kafbat/kafka-ui
@Haarolean Is this feature implemented there or do we need to recreate this topic?
@Haarolean Is this feature implemented there or do we need to recreate this topic?
No it's rather not. Please raise a new issue.