pull/7923/merge
Onur Tirtir 2025-07-02 08:21:52 +00:00 committed by GitHub
commit 8f142e580f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;