Skip to content
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

PR #95303 - ui: hide reset options for non-admins #16012

Open
cockroach-teamcity opened this issue Jan 17, 2023 · 2 comments
Open

PR #95303 - ui: hide reset options for non-admins #16012

cockroach-teamcity opened this issue Jan 17, 2023 · 2 comments

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Jan 17, 2023

Exalate commented:

Related PR: cockroachdb/cockroach#95303
Commit: cockroachdb/cockroach@2884bb0


Release note (ui change): Remove reset sql stats and reset index stats
from the Console when the user is a non-admin.

Jira Issue: DOC-6608

@exalate-issue-sync
Copy link

Florence Morris (florence-crl) commented:
Can not test this due to this bug: cockroachdb/cockroach#103501

@exalate-issue-sync
Copy link

Florence Morris (florence-crl) commented:
{{Reset SQL stats}} is removed from the Statement Activity page for a non-admin user.

reviewed with Thomas Hardy

{{Reset all index stats}} can not be tested due to:

{noformat}max@localhost:26257/defaultdb> SHOW STATISTICS FOR TABLE "movr"."public"."rides";
ERROR: read-table-stats: user max does not have SELECT privilege on relation table_statistics{noformat}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant