Re: Proposal: Introduce row-level security templates

2024-03-27 Thread Aadhav Vignesh
Hi Stojan, > I do think there should be the option to attach it immediately to > tables, something like `CREATE POLICY TEMPLATE ATTACH TO > AS ...` but it’s not a deal-breaker for me. I would say that because templates are not active until they’re > attached, the logic for “validating” the qu

Proposal: Introduce row-level security templates

2024-03-18 Thread Aadhav Vignesh
Hi, I'm looking at an open proposal to introduce row-level security policy templates [0], and I have been making some progress on it. The proposal aims to introduce templates for RLS policies, where the idea is to allow users to define policies as a template, and apply it to multiple tables. The