cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.12k stars 3.81k forks source link

Admin privileges are necessary, to view EVENTS in the DB console under UI->Metrics->event #103341

Open Arivijay opened 1 year ago

Arivijay commented 1 year ago

Describe the problem Admin privileges are necessary, to view EVENTS in the DB console under UI->Metrics->event

Given the current events, the following system privileges should all be required (slack context):

To Reproduce

Create a non-admin user and go to DB console->Metrics->Events Please see image attached for error. DBConsole

Environment:

@kevin-v-ngo @rafiss @maryliag

Jira issue: CRDB-27954

Epic CRDB-32130

blathers-crl[bot] commented 1 year ago

Hi @Arivijay, please add a C-ategory label to your issue. Check out the label system docs.

While you're here, please consider adding an A- label to help keep our repository tidy.

:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

kevin-v-ngo commented 1 year ago

List of current events: https://www.cockroachlabs.com/docs/stable/ui-overview-dashboard.html#events-panel

rafiss commented 12 months ago

The VIEWSYSTEMTABLE privilege has been added, and should allow the events page to be viewed. However, it still seems useful to add a finer-grained privilege that doesn't give read access to all other system tables.