mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-09 14:41:02 +00:00
fix merge conflicts
This commit is contained in:
parent
9371212697
commit
81fcd9c228
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue