Tenant-scoped and delegated RBAC
Work with memberships, permission catalogs, immutable role versions, and scoped permissions. Review the public tests for grant-cycle and stale-version rejection.
Amsonia Core is our open-source administration scaffold for Go applications. Start with one organization, accounts, invitations, roles, sessions, audit, and a React console. Enable multi-tenancy when your application needs it.
Core provides administration and an authorization boundary. Your host application authenticates end users, resolves the active organization, and chooses the permission each business action requires.
Work with memberships, permission catalogs, immutable role versions, and scoped permissions. Review the public tests for grant-cycle and stale-version rejection.
A signed, transaction-local tenant binding and reference FORCE RLS policies connect the authorization boundary to database access. The host-table example includes cross-tenant reads and rejected writes.
Inspect administrator authentication, rotating refresh sessions, append-only policy audit, a versioned HTTP API, and the React management console.
The Compose quick start requires Docker with the Compose plugin and Go 1.26.10 or newer. Follow the repository guide for configuration and administrator bootstrap.
git clone https://github.com/willunylabs/amsonia-core.git
cd amsonia-core
make demoOpen http://127.0.0.1:8080 after setup. The command prompts for an administrator password; follow the guide to manage the local stack and its PostgreSQL data.
Then inspect the business-data RLS walkthrough: two tenants access the same invoice table, with isolation enforced through the reference database policies.
Amsonia Next is our private commercial Next.js application with accounts, Stripe billing, PostgreSQL/Drizzle, and admin. Core is an independently useful Go/PostgreSQL administration scaffold; it does not include Next source, billing, or the full SaaS product.