<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> AWS SaaS Factory PostgreSQL Row Level Security

AWS SaaS Factory PostgreSQL Row Level Security Demo

Use this interface to test the example RLS policies described in the Multi-tenant data isolation with PostgreSQL Row Level Security blog post.
Please note this sample is for demonstration purposes only.

As the SaaS administrator, you can add new tenants to the database. Once you've added a tenant, that tenant can manage their users.
Instructions:

  1. Add at least two tenants to the system as the administrator.
  2. Add at one or more users to each tenant as that tenant.
  3. Now try to view or edit users of another tenant and you'll see the RLS policies enforcing isolation of the tenant data.

Admin Tenant Management

These actions will be executed as the SaaS administrator.

Tenant User Management

These actions will be executed in the context of the Tenant you choose to "login" as and will be secured by RLS policies.