Skip to Content

v0.3.0 — 3 Nov 2026

Roles for the people the BuildPad platform signs in to the Studio, a permission rule for every collection, and a stricter SSO auto-login.

Nothing changes for people who sign in today. SSO auto-login still signs in as the project administrator until the BuildPad platform turns on sign-in as yourself for the project.


Added — Project Developer and Project Viewer

Who is affected: every Supabase deployment. This release changes the Supabase backend only; the Go engine gets the same roles in its own release.

Today every person who opens the Studio from the BuildPad platform signs in as the project administrator. The platform will sign each person in as themselves, with a role that follows their role on the project. Two built-in roles make that possible:

RoleIDCan do
Project Developer00000000-0000-0000-0000-000000000003Create, read, update and delete items in every collection, and files and folders. Read the data model. Read their own user record.
Project Viewer00000000-0000-0000-0000-000000000004Read items in every collection, files and folders, and the data model. Read their own user record.

Neither role has admin access, and neither can change the data model, users, roles, policies or settings. A project Admin on the platform gets Administrator.

The roles are seeded once, by migration 20261102000001_project_roles, at the same IDs the Go engine uses:

  • You can change what either role allows. An update does not undo your change.
  • If a role or policy of your own already uses one of the two IDs, the migration stops before it writes anything, and the deployment starts without the two roles. Rename or move your role, then restart.

See Roles & Policies.


Added — a permission rule for every collection

A permission rule on the collection * applies to every collection that you create, including collections created later. It never applies to a system collection (daas_users, daas_files, daas_settings and the other daas_ collections).

  • A * rule and a rule on one collection add up. A rule on one collection cannot narrow a * rule.
  • The rule applies everywhere a permission is checked: the item routes, the collections list, GET /api/permissions/me (which lists the collections by name), and row-level security on direct database access.

The Go engine already worked this way.


Added — accounts the platform creates

  • POST /api/users takes provider and external_identifier from an administrator. The platform sends provider: "platform" and its own user ID, so that it can tell its accounts from yours. Anyone else gets an ordinary email account, whatever the request says.
  • GET /api/server/info answers project.features, which holds project-roles, to every caller. The platform reads it to know that a deployment has the two roles.

Changed — SSO auto-login never creates an account

  • POST /api/auth/sso signs in only an account that already exists and is active. An unknown address answers 401 Single sign-on was refused. The platform creates each person’s account before it signs them in.
  • When the token names a platform user (sub), the account is linked to that user on its first sign-in. A token that names a different platform user answers 401.
  • A token without sub, as the platform sends today, works as before.

Changed — accounts the platform created cannot enrol MFA

An account the platform created (its provider is platform) signs in only through SSO auto-login, which refuses an account with a second factor. So POST /api/auth/mfa/enroll answers 403 for such an account, and the profile page does not offer it. The person sets up two-factor authentication on the BuildPad platform instead. See MFA.