Expand description
Organizations + memberships + invites — multi-tenant team management.
Sits alongside the existing in-memory OrganizationsPlugin in
pylon_plugin::builtin::organizations but with:
- Pluggable
OrgBackendtrait (in-memory default, SQLite + PG backends in pylon-runtime so orgs survive a restart) - Email invite flow with token + expiry + accept endpoint
- Role enforcement helpers
The HTTP endpoints in routes/auth.rs use this directly. Apps
that want their own org model can ignore the store and roll their
own — pylon doesn’t force the schema, only ships the backend +
endpoints when you opt in.
Structs§
Enums§
- Accept
Error - OrgRole
- Role within an organization.