sql: lookup user info using stable ids #87080
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)
Now that we've added ids to users in #81457
Once the remaining migrations are completed #87079
We can update all current lookups that depend on usernames (ie
CheckPrivilegeForUser
) to use IDs instead.To do this, we'll need to lookup every usage of
SQLUsername
and audit if it should use id for lookup.This PR can be worked on but will likely be hard to rebase.
#79965
Epic CRDB-25679
Jira issue: CRDB-19141
The text was updated successfully, but these errors were encountered: