Skip to content

Support RLS statements #1404

Closed
Closed
@wyozi

Description

@wyozi

Hey, I'm working on a project where I would like to parse and transform (among others) RLS policy migrations.

Namely, stuff like

create policy "authorize read access"
on "public"."accounting_entries"
as permissive
for select
to public
using (( SELECT authorize_company(accounting_entries.company_id) ));

and

drop policy "Users can update own profile." on "public"."profiles";

Would it be possible to add support for these?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions