Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RBAC: Implement a default role #3763

Open
2 tasks done
Shawcs opened this issue May 2, 2023 · 5 comments
Open
2 tasks done

RBAC: Implement a default role #3763

Shawcs opened this issue May 2, 2023 · 5 comments
Labels
area/rbac scope/backend status/accepted An issue which has passed triage and has been accepted type/enhancement En enhancement to an already existing feature
Milestone

Comments

@Shawcs
Copy link

Shawcs commented May 2, 2023

Issue submitter TODO list

  • I've searched for an already existing issues here
  • I'm running a supported version of the application which is listed here and the feature is not present there

Is your proposal related to a problem?

If the UI have RBAC role defined and a user come with an identity that doesn't belong to any of this roles then the UI display nothing (like no cluster found)

Describe the feature you're interested in

A way to solve that would be to define a default role in the RBAC config of the Kafka-ui. In my mind it would be a Read only role by default, but user could want something else. So just been able to define a role by default with a list of permissions would be the best option I think.

Describe alternatives you've considered

No response

Version you're running

custom build 3740

Additional context

No response

@Shawcs Shawcs added status/triage Issues pending maintainers triage type/feature A new feature labels May 2, 2023
@Haarolean Haarolean changed the title RBAC default profile RBAC: Implement a default role May 3, 2023
@Haarolean Haarolean added type/enhancement En enhancement to an already existing feature scope/backend status/accepted An issue which has passed triage and has been accepted and removed status/triage Issues pending maintainers triage type/feature A new feature labels May 3, 2023
@Haarolean Haarolean added this to the 0.9 milestone May 3, 2023
@Haarolean Haarolean modified the milestones: 0.9, 0.8 May 15, 2023
@Haarolean
Copy link
Contributor

A good idea from #4105: use regexp for role matching?

subjects:
   - provider: oauth
      type: role
      value: ".*"

@sankhyan
Copy link

hi @Haarolean any update on this feature, it's very important for us since default role is needed for company wide

@githubwalvarado
Copy link

same here ... wondering if there's a time frame for this enhancement...

@Haarolean
Copy link
Contributor

@githubwalvarado
Copy link

Thanks @Haarolean ! Apologies! Will bug you on that repo then :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rbac scope/backend status/accepted An issue which has passed triage and has been accepted type/enhancement En enhancement to an already existing feature
Projects
None yet
Development

No branches or pull requests

4 participants