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

feat(rbac): only display available roles in SHOW ROLES statement #8553

Merged
merged 5 commits into from
Oct 31, 2022

Conversation

flaneur2020
Copy link
Member

@flaneur2020 flaneur2020 commented Oct 31, 2022

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

  • scaffold about SHOW ROLES interpreters/plans etc
  • logic about only display available roles
  • add is_current & is_default marker
  • tests

Fixes #8420

@vercel
Copy link

vercel bot commented Oct 31, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Oct 31, 2022 at 0:32AM (UTC)

@mergify mergify bot added the pr-feature this PR introduces a new feature to the codebase label Oct 31, 2022
@flaneur2020 flaneur2020 marked this pull request as ready for review October 31, 2022 13:15
@BohuTANG BohuTANG merged commit 7bd44e3 into databendlabs:main Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature this PR introduces a new feature to the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RBAC: make SHOW ROLES only display the current available roles
3 participants