# One query to audit the PostgreSQL row-level security an AI … | Percona Community

**URL:** <https://forums.percona.com/t/one-query-to-audit-the-postgresql-row-level-security-an-ai-percona-community/41334>\
**Category:** Community website\
**Created:** [October 13, 2026, 9:21am UTC](https://forums.percona.com/t/one-query-to-audit-the-postgresql-row-level-security-an-ai-percona-community/41334 "2026-10-13T09:21:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniil.bazhenov](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/daniil.bazhenov/32/62_2.png) [@daniil.bazhenov](https://forums.percona.com/u/daniil.bazhenov)\
**Post date:** [October 13, 2026, 9:21am UTC](https://forums.percona.com/t/one-query-to-audit-the-postgresql-row-level-security-an-ai-percona-community/41334/1 "2026-10-13T09:21:41Z")

</div>

I take over apps that were made with Lovable, Bolt or v0.

The apps’ databases are on Supabase. In this post I’ll show you how I check and patch what the builders wrote in the database to protect its data.

* * *
This is a companion discussion topic for the original entry at [https://percona.community/blog/2026/10/13/postgresql-rls-audit-ai-app-builder/](https://percona.community/blog/2026/10/13/postgresql-rls-audit-ai-app-builder/)
