I have looked into the documentation for GRANT Found here and I was trying to see if there is a built-in function that can let me look at what level of accessibilit
Use this to list Grantee too and remove (PG_monitor and Public) for Postgres PaaS Azure.
SELECT grantee,table_catalog, table_schema, table_name, privilege_type
FROM information_schema.table_privileges
WHERE grantee not in ('pg_monitor','PUBLIC');