mirror of https://github.com/citusdata/citus.git
Merge bfd80982dd
into 5deaf9a616
commit
8f142e580f
|
@ -502,7 +502,7 @@ UserHasPermissionToViewStatsOf(Oid currentUserId, Oid backendOwnedId)
|
|||
return true;
|
||||
}
|
||||
|
||||
if (is_member_of_role(currentUserId,
|
||||
if (has_privs_of_role(currentUserId,
|
||||
ROLE_PG_READ_ALL_STATS))
|
||||
{
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue