diff --git a/pkg/common/tokenverify/jwt_token.go b/pkg/common/tokenverify/jwt_token.go index 577fca917..5b3732ed9 100644 --- a/pkg/common/tokenverify/jwt_token.go +++ b/pkg/common/tokenverify/jwt_token.go @@ -78,7 +78,7 @@ func CheckAdmin(ctx context.Context) error { if utils.IsContain(tracelog.GetOpUserID(ctx), config.Config.Manager.AppManagerUid) { return nil } - return errs.ErrIdentity.Wrap("is not admin") + return errs.ErrIdentity.Wrap("operate user is not admin") } func ParseRedisInterfaceToken(redisToken interface{}) (*Claims, error) {