sql: crdb_internal.leases should be placed behind VIEWCLUSTERMETADATA #119440
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
Previously, the internal table crdb_internal.leases was accessible by all users. This was unnecessary, as the table can potentially incur heavy overhead due to its intensive locking requirements. Limiting user access to the VIEWCLUSTERMETADATA permission is a more sensible approach, and would have also helped to mitigate
#119253
Jira issue: CRDB-36196
The text was updated successfully, but these errors were encountered: