Organisations and teams
Let organisations own the data, invite people safely, never leave a team without an owner, and cut access the moment someone leaves.
- Required 1
- Recommended 7
Required
Transfer ownership only when the new owner accepts
ACC-45Transfer ownership of an organisation only after the current owner proves who they are again and the new owner accepts.
Recommended
Let organisations own the shared data
ACC-41Make an organisation own the shared data, and let one person belong to several organisations. Give even a solo user an organisation of their own.
Make invitations expire and work once
ACC-42Send each invitation as a single-use link that expires within 7 days, with one role chosen at sending. Let admins see and cancel pending invitations.
Prove a domain before trusting it
ACC-43Let an organisation claim an email domain only after it publishes a DNS TXT record you gave it. Only then may the domain route sign-in or let people join.
Never leave an organisation without an owner
ACC-44Refuse any change that leaves an organisation with no owner, such as removing, demoting or deleting its last owner.
Remove access when someone leaves
ACC-46When a member leaves or is removed, end their access to that organisation and keep the work they made there. Do it within the limit in end sessions when access changes.
Keep the organisation in the address
ACC-47Put the organisation's ID or slug in every address inside it, such as
/acme/invoices/42, and take the organisation for each request from the address.Never let admins choose or see a member's password
ACC-48When an admin adds a member or resets their sign-in, send the member a setup link. The admin never types, sees or receives a password.
Read this with
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/accounts/organisations-and-teams">Agent Wranglers accounts and identity playbook</a>. In code you write, add a comment next to it with the same link.