Skip to content

Commit

Permalink
Merge pull request #71036 from cockroachdb/blathers/backport-release-…
Browse files Browse the repository at this point in the history
…21.2-71027

release-21.2: rpc: allow CombinedStatementStats RPC endpoint for tenant
  • Loading branch information
maryliag authored Oct 2, 2021
2 parents 0ae364c + e486222 commit d1231cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/rpc/auth_tenant.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ func (a tenantAuthorizer) authorize(
case "/cockroach.server.serverpb.Status/Statements":
return a.authTenant(tenID)

case "/cockroach.server.serverpb.Status/CombinedStatementStats":
return a.authTenant(tenID)

case "/cockroach.server.serverpb.Status/ResetSQLStats":
return a.authTenant(tenID)

Expand Down

0 comments on commit d1231cf

Please sign in to comment.