Agent Wranglers

ACC-41Recommended

Let organisations own the shared data

Make an organisation own the shared data, and let one person belong to several organisations. Give even a solo user an organisation of their own.

How to do it

Point every business record at an organisation ID, and at a person only for authorship. Create a personal organisation at sign-up, so adding a colleague later moves no data. Keep billing on the organisation. Keep each organisation's rows apart, as keep each customer's data apart says. A consumer app where people never share data can skip this rule.

How to check

Search the schema for business tables keyed only by a user ID. None exist. Remove the creator from a test organisation, and all its records stay.

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/organisation-owns-data">Agent Wranglers accounts and identity playbook</a>. In code you write, add a comment next to it with the same link.