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

sql/catalog: upgrade privilege descriptors to use internal user IDs #93940

Open
rafiss opened this issue Dec 19, 2022 · 0 comments
Open

sql/catalog: upgrade privilege descriptors to use internal user IDs #93940

rafiss opened this issue Dec 19, 2022 · 0 comments
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)

Comments

@rafiss
Copy link
Collaborator

rafiss commented Dec 19, 2022

Is your feature request related to a problem? Please describe.
As part of the stable user IDs project, privilege descriptors should change to store privileges by user ID, rather than user name.

As per the discussion in #103467, the upgrade should look out for privilege descriptors where the user name is a dangling reference to a user that no longer exists.

Epic CRDB-25679

Jira issue: CRDB-22607

@rafiss rafiss added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) labels Dec 19, 2022
@rafiss rafiss changed the title sql/catalog: migrate privilege descriptors to use internal user IDs sql/catalog: upgrade privilege descriptors to use internal user IDs May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
None yet
Development

No branches or pull requests

1 participant