Organisations and roles
An organisation holds a team's apps and their deep link templates. Organisations sit on a subscription; people get in through seats on it, with a role in each organisation.
In one minute
- Each person has one subscription, made when it is first needed, and owns every organisation on it.
- The owner invites people to seats, and gives each seat a role per organisation: admin or member.
- Members author deep links; admins also manage CI keys; only the owner renames or deletes an organisation.
Organisations, apps and templates#
Any signed-in person can create an organisation; it goes on their own subscription. Its address is a slug made from the name with a short random suffix, and it stays when the organisation is renamed. An organisation has apps; an app has one or more environments (a custom scheme, an https link domain, or both, plus the Android and Apple identifiers for its link files) and its deep link templates. A template has a name, a description, a host, a path, a fragment and its typed query parameters.
In the app, Apps lists an organisation's apps and their templates. In a wide window, search looks at a template's name, its template and its parameters.
Roles#
| Role | Who | Apps and templates | CI keys | The organisation |
|---|---|---|---|---|
| Owner | whoever owns the subscription | create, edit, delete | create and revoke | rename, delete, see the plan |
| Admin | a seat with admin on this organisation | create, edit, delete | create and revoke | read |
| Member | a seat with member on this organisation | create, edit, delete | none | read |
A CI key has a role of its own, importer: it reads and imports routes, and nothing else (CI keys and importing routes). Everyone but a CI key can see who has access to an organisation. A role that is not allowed something is refused with a message that names the role.
Seats and invitations#
The subscription's owner manages seats in the admin console at admin.usediver.com: Invite someone with an email address and the organisations the seat opens, each as admin or member. Diver sends no email: the owner copies the invitation link and passes it on. The link works for seven days, once, and only for someone signed in with the invited address; otherwise it says This invitation was sent to the address, and asks them to sign in as that account.
Leaving gives up the whole seat: every organisation it opens, not only one. The owner can hand the whole subscription to a seat holder, who becomes the owner while the old owner keeps an admin seat on every organisation.
Billing and plans#
Someone other than the owner can take over the billing through a one-time link that works for seven days; they then see the plan, the seats in use and when the plan ends, but not the organisations. The code knows three plans, free, team and enterprise, and only the number of seats differs between them. Nothing can be bought in the app: the API's documentation says a paid plan is sold by invoice and assigned by an operator. Diver is free during early access (Pricing).
The owner takes one seat, and every seat holder and every pending invitation another; CI keys take none. A subscription can have a seat limit; when it is reached, an invitation is refused with Every seat on this subscription is taken. Remove someone or add seats first.
Deleting#
Only the owner deletes an organisation; its apps, templates and CI keys go with it, and the seats stay. Deleting your account deletes your subscription and every organisation you own, and is refused while others hold seats on it: Other people have seats on your subscription. Transfer ownership to one of them, or remove them, in the admin console before deleting your account.