pull/7923/merge
Onur Tirtir 2025-11-20 11:34:40 +00:00 committed by GitHub
commit de1a3216f0
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; return true;
} }
if (is_member_of_role(currentUserId, if (has_privs_of_role(currentUserId,
ROLE_PG_READ_ALL_STATS)) ROLE_PG_READ_ALL_STATS))
{ {
return true; return true;