RLS get operation
Hi there,
I've been working on RBAC using RLS. It works quite well but there is something I'd like to improve on.
Currently I have to create a policy for select, insert, update and delete instead of creating one for all.
Therefore I need to check for .select separate instead of just putting a function in there and checking that behind the scenes.
I was wondering if there is a way to get the operation from within the policy?
Kind Regards,
Bram
I've been working on RBAC using RLS. It works quite well but there is something I'd like to improve on.
Currently I have to create a policy for select, insert, update and delete instead of creating one for all.
Therefore I need to check for .select separate instead of just putting a function in there and checking that behind the scenes.
I was wondering if there is a way to get the operation from within the policy?
Kind Regards,
Bram