Open aadityasondhi opened 1 year ago
Is your feature request related to a problem? Please describe.
In the first implementation of the can_view_tsdb_metrics, the following behavior was implemented:
can_view_tsdb_metrics
This is overly restrictive.
Describe the solution you'd like
Also as a result we will probably want to rename that capability to can_view_storage_metrics.
can_view_storage_metrics
Additional context
Jira issue: CRDB-27417 Epic CRDB-34076
This is referenced as a skipped test here: https://github.com/cockroachdb/cockroach/blob/60fa6c0b8521b103da81bd967f0335c1d9503418/pkg/server/authserver/authentication_test.go#L777
Is your feature request related to a problem? Please describe.
In the first implementation of the
can_view_tsdb_metrics
, the following behavior was implemented:can_view_tsdb_metrics
capability, they become able to read their own timeseries.This is overly restrictive.
Describe the solution you'd like
Also as a result we will probably want to rename that capability to
can_view_storage_metrics
.Additional context
Jira issue: CRDB-27417 Epic CRDB-34076