If the question is of granularity/scale, Zanzibar ...
# zanzibar
j
If the question is of granularity/scale, Zanzibar style solutions can. If you're looking for a deep integration with PostgreSQL RLS, then there is not anyway to my knowledge to make an API call from it. I have seen some folks build custom C extensions for foreign data wrappers, but once you explore FDW, you throw out the ability to use cloud hosted Postgres offerings.