sql: GRANT mistakenly allowed on system.lease, causing deadlocks #43842
Labels
A-schema-descriptors
Relating to SQL table/db descriptor handling.
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Describe the problem
We all know that there are many system tables in the database.But I've found that programs get stuck when I try to grant to certain system tables
To Reproduce
Start the database and enter the statement:
GRANT GRANT, SELECT, INSERT, DELETE, UPDATE on system.lease to testuser
If possible, provide steps to reproduce the behavior:
Expected behavior
Returns a sign of success or failure in empowerment
Environment:
•CockroachDB version [19.2.0]
•Server OS: [Linux]
•Client app [cockroach sql]
The text was updated successfully, but these errors were encountered: