pgsql-test-rls

Installation
SKILL.md

Testing RLS Policies with pgsql-test

Test Row-Level Security policies by simulating different users and roles. Verify your security policies work correctly with isolated, transactional tests.

When to Apply

Use this skill when:

  • Testing RLS policies for multi-tenant applications
  • Verifying user isolation (users only see their own data)
  • Testing role-based access (anonymous, authenticated, admin)
  • Validating INSERT/UPDATE/DELETE policies

Setup

Install pgsql-test:

pnpm add -D pgsql-test
Related skills

More from constructive-io/constructive-skills

Installs
8
First Seen
Feb 27, 2026