[PATCH] refactor ExecCheckPermissionsModified for ACL_SELECT

Started by Steve Chavez8 months ago1 messageshackers
Jump to latest
#1Steve Chavez
steve@supabase.io

Hello hackers,

Currently the code on ExecCheckOneRelPerms duplicates the logic in
ExecCheckPermissionsModified.

This change accommodates ExecCheckPermissionsModified to handle ACL_SELECT
and makes ExecCheckOneRelPerms reuse code. It also merges similar comments.

Main benefit is that it reduces LOCs and centralizes column privilege logic.

Best regards,
Steve Chavez

Attachments:

t53575_1
0001-refactor-ExecCheckPermissionsModified-for-ACL_SELECT.patchtext/x-patch; charset=US-ASCII; name=0001-refactor-ExecCheckPermissionsModified-for-ACL_SELECT.patchDownload+24-47