From 81fcd9c22860f0458e3c8cf7df2954f34a2469bd Mon Sep 17 00:00:00 2001 From: reesporte Date: Thu, 20 Jan 2022 14:14:25 -0600 Subject: [PATCH] fix merge conflicts --- server/grpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/grpc.go b/server/grpc.go index fa0623ec3..4fc8fd3bd 100644 --- a/server/grpc.go +++ b/server/grpc.go @@ -182,7 +182,7 @@ func (h *GRPCHandler) QuerySQL(req *pb.QuerySQLRequest, stream pb.Pilosa_QuerySQ } allowed := h.perms.GetAuthorizedIndexList(uinfo.Groups, perm) - if !h.perms.IsAdmin(uinfo.(*authn.UserInfo).Groups) { + if !h.perms.IsAdmin(uinfo.Groups) { if !isAllowed(parsed.Tables, allowed) { return status.Error(codes.PermissionDenied, "insufficient permissions to access requested tables") }