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

Revoke the dropped roles automatically when the role is dropped #4823

Closed
flaneur2020 opened this issue Apr 12, 2022 · 1 comment
Closed

Revoke the dropped roles automatically when the role is dropped #4823

flaneur2020 opened this issue Apr 12, 2022 · 1 comment
Labels
C-feature Category: feature

Comments

@flaneur2020
Copy link
Member

flaneur2020 commented Apr 12, 2022

Summary

currently when the granted role is dropped, the dropped role is still displayed in an user's SHOW GRANTS.

this behaviour has similarities with MySQL. but it might be better to revoke the dropped roles automatically when the role is dropped, like snowflake does 1:

If a role is a grantor of roles to users, dropping the role revokes these grants automatically.

@flaneur2020 flaneur2020 added the C-feature Category: feature label Apr 12, 2022
@flaneur2020 flaneur2020 changed the title Remove Revoke the dropped roles automatically when the role is dropped Apr 12, 2022
@junnplus
Copy link
Contributor

Can we just clear role cache from the role_cache_manager?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature Category: feature
Projects
None yet
Development

No branches or pull requests

2 participants