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

ui: hide list of statement for non-admins #95997

Merged
merged 1 commit into from
Jan 26, 2023

Conversation

maryliag
Copy link
Contributor

@maryliag maryliag commented Jan 26, 2023

To get the list of fingerprints used by an index, we use the system.statement_statistics directly, but non-admins don't have access to system table.
Until #95756 or #95770 are done, we need to hide
this feature for non-admins.

Part Of #93087

Release note (ui change): Hide list of used fingerprint per index on Index Details page, for non-admin users.

The get the list of fingerprints used by an index,
we use the `system.statement_statistics` directly, but
non-admins don't have access to system table.
Until cockroachdb#95756 or cockroachdb#95770 are done, we need to hide
this feature for non-admins.

Part Of cockroachdb#93087

Release note (ui change): Hide list of used fingerprint per index
on Index Details page, for non-admin users.
@maryliag maryliag requested review from a team January 26, 2023 14:52
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@maryliag
Copy link
Contributor Author

unrelated test failures
bors r+

@craig
Copy link
Contributor

craig bot commented Jan 26, 2023

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jan 26, 2023

Build succeeded:

@craig craig bot merged commit ed9928f into cockroachdb:master Jan 26, 2023
@maryliag maryliag deleted the hide-fing-list branch January 26, 2023 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants