From 3c409d50236af50a7a3dbb91d408e06d0b9ebba6 Mon Sep 17 00:00:00 2001 From: vyzo Date: Mon, 26 Jul 2021 12:13:41 +0300 Subject: [PATCH] require admin for running checks on the splitstore. --- api/api_full.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api_full.go b/api/api_full.go index c03710ad8..412e223cd 100644 --- a/api/api_full.go +++ b/api/api_full.go @@ -166,7 +166,7 @@ type FullNode interface { // ChainCheckBlockstore performs an (asynchronous) health check on the chain/state blockstore // if supported by the underlying implementation. - ChainCheckBlockstore(context.Context) error //perm:read + ChainCheckBlockstore(context.Context) error //perm:admin // ChainBlockstoreInfo returns some basic information about the blockstore ChainBlockstoreInfo(context.Context) (map[string]interface{}, error) //perm:read