-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Show System Grants Errors - User Lacks SELECT Privilege on 'privileges' Relation #104412
Copy link
Copy link
Closed
Closed
Copy link
Labels
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)v23.1.4
Description
Describe the problem
Despite our doc stating that no privileges are required to execute "show system grants", the command isn't functioning as expected when "show system grants" for the logged in user is executed.
fbtcrdbadmin@34.82.243.36:26257/defaultdb> show system grants for fbtcrdbadmin;
ERROR: user fbtcrdbadmin does not have SELECT privilege on relation privileges
SQLSTATE: 42501
fbtcrdbadmin@34.82.243.36:26257/defaultdb> show system grants;
ERROR: user fbtcrdbadmin does not have SELECT privilege on relation privileges
SQLSTATE: 42501
fbtcrdbadmin@34.82.243.36:26257/defaultdb>
Environment:
CockroachDB version 23.1.1
Jira issue: CRDB-28517
Epic CRDB-27601
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)v23.1.4