Hello 🙂 Does anyone know if it's possible to use ...
# help
j
Hello 🙂 Does anyone know if it's possible to use RLS to block requests for specific columns of data within a table?
g
RLS is only for rows (it is like an extra where clause) You can use a view or an rpc function to hide or not return columns. Postgres has column level security, but it based on the database user (not uuid auth user) so may not fit. https://www.enterprisedb.com/postgres-tutorials/how-implement-column-and-row-level-security-postgresql
j
Thank you @User!