-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin privileges are necessary, to view EVENTS in the DB console under UI->Metrics->event #103341
Comments
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. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
List of current events: https://www.cockroachlabs.com/docs/stable/ui-overview-dashboard.html#events-panel |
Part of: cockroachdb#103341 This change allows non-admin users that have `VIEWACTIVITY` + `VIEWCLUSTERMETADATA` + `VIEWCLUSTERSETTING` permissions to view system events from the admin api events endpoint. Release note (server change): Non-admin users that have `VIEWACTIVITY` + `VIEWCLUSTERMETADATA` + `VIEWCLUSTERSETTING` permissions can view system events from the admin api events endpoint
Part of: cockroachdb#103341 This change allows non-admin users that have `VIEWACTIVITY` + `VIEWCLUSTERMETADATA` + `VIEWCLUSTERSETTING` permissions to view system events from the admin api events endpoint. Release note (bug fix): Non-admin users that have `VIEWACTIVITY` + `VIEWCLUSTERMETADATA` + `VIEWCLUSTERSETTING` permissions can view system events from the admin api events endpoint
Addresses: cockroachdb#103341 This change add the `crdb_internal.eventlog` virtual table. This table is a thin wrapper around the `system.eventlog` table with more permissive access. Non-admins can query this table if they have: - `VIEWACTIVITY`/`VIEWACTIVITYREDACTED` permission and - `VIEWCLUSTERMETADATA` permission and - `VIEWCLUSTERSETTING`/`MODIFYCLUSTERSETTING` permission This table is used for the Events page on the console, allowing non-admin users with these permissions to view events on the console. Release note (sql change): Add the `crdb_internal.eventlog` virtual table. This table is a thin wrapper around the `system.eventlog` table with more permissive access. Non-admins can query this table if they have: - `VIEWACTIVITY`/`VIEWACTIVITYREDACTED` permission and - `VIEWCLUSTERMETADATA` permission and - `VIEWCLUSTERSETTING`/`MODIFYCLUSTERSETTING` permission
Addresses: cockroachdb#103341 This change add the `crdb_internal.eventlog` virtual table. This table is a thin wrapper around the `system.eventlog` table with more permissive access. Non-admins can query this table if they have: - `VIEWACTIVITY`/`VIEWACTIVITYREDACTED` permission and - `VIEWCLUSTERMETADATA` permission and - `VIEWCLUSTERSETTING`/`MODIFYCLUSTERSETTING` permission This table is used for the Events page on the console, allowing non-admin users with these permissions to view events on the console. Release note (sql change): Add the `crdb_internal.eventlog` virtual table. This table is a thin wrapper around the `system.eventlog` table with more permissive access. Non-admins can query this table if they have: - `VIEWACTIVITY`/`VIEWACTIVITYREDACTED` permission and - `VIEWCLUSTERMETADATA` permission and - `VIEWCLUSTERSETTING`/`MODIFYCLUSTERSETTING` permission
Addresses: cockroachdb#103341 This change add the `crdb_internal.eventlog` virtual table. This table is a thin wrapper around the `system.eventlog` table with more permissive access. Non-admins can query this table if they have: - `VIEWACTIVITY`/`VIEWACTIVITYREDACTED` permission and - `VIEWCLUSTERMETADATA` permission and - `VIEWCLUSTERSETTING`/`MODIFYCLUSTERSETTING` permission This table is used for the Events page on the console, allowing non-admin users with these permissions to view events on the console. Release note (sql change): Add the `crdb_internal.eventlog` virtual table. This table is a thin wrapper around the `system.eventlog` table with more permissive access. Non-admins can query this table if they have: - `VIEWACTIVITY`/`VIEWACTIVITYREDACTED` permission and - `VIEWCLUSTERMETADATA` permission and - `VIEWCLUSTERSETTING`/`MODIFYCLUSTERSETTING` permission
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. |
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.
Environment:
@kevin-v-ngo @rafiss @maryliag
Jira issue: CRDB-27954
Epic CRDB-32130
The text was updated successfully, but these errors were encountered: