cockroachdb / cockroachdb/cockroach
sql/catalog: upgrade privilege descriptors to use internal user IDs
Open
C-enhancement
T-sql-foundations
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
**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 https://github.com/cockroachdb/cockroach/pull/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
Contributor guide
Assessment
This issue has not been assessed yet.