# Consulting

A consultant is a person with ADMIN access to a customer account (a personal
workspace or an organization) without taking a seat. In a personal workspace
everything the consultant does counts as done by the account owner.

Flow:

1. `consulting.requests.create` (platform operators only) asks the owner of an
   email address for access. The owner gets an email; the request expires
   after 14 days.
2. The owner sees it in `consulting.requests.list` and answers with
   `consulting.requests.accept` (optional `tenant_id`: an account where the
   owner is admin; default their personal account) or
   `consulting.requests.decline`. The sender can `consulting.requests.cancel`
   a pending one.
3. `consulting.access.list` (admin, `tenant_id`) shows the consultants of an
   account; `consulting.access.revoke` ends one (an admin names `user_id`; a
   consultant without `user_id` leaves). Their spaces go to an admin.

Pick the right way to bring someone in:

- Consultant: ADMIN of the whole account, no seat, ends with `access.revoke`.
- `organization.invitations.create`: a seat-taking member of an organization;
  `spaces` pre-assigns spaces they see on acceptance (see
  read_docs("organization")).
- `spaces.share`: one space only.
