# Companies and access

> OneDoor groups people into companies. A company owns its accounts, apps and versions, and each person in it holds one role.

Source: https://docs.onedoor.team/concepts/organizations-and-access/
All docs in one file: https://docs.onedoor.team/llms-full.txt

A **company** is the boundary that owns accounts, apps and versions.
Everything you connect or deploy belongs to one.

## Members and roles

Every person in a company holds one role:

| Role    | Can do                                                                                                        |
| ------- | ------------------------------------------------------------------------------------------------------------- |
| Owner   | An admin's rights. Owners are invited by email when LaneSprout creates the company.                            |
| Admin   | A user's rights, plus invite and remove people, manage groups, publish apps, and manage every app.            |
| User    | Create apps, connect accounts, use their own apps and what is shared with them, and manage what they created. |
| Partner | Manages a client company for its MSP: invites people (each invitation waits for the company's approval), sets up and shares apps and groups, and renames the company, but never calls a tool, links an account or sees the company's data. |

Roles decide who manages things, not who uses them. Using an app, including
calling its tools through MCP, follows the app's audience:

- **Only me**, the default for a new app: only the person who created it.
- **Everyone** in the company.
- **Groups**: the members of the groups it is shared with. A user can share
  only with groups they belong to; admins and owners can pick any group.

Accounts are always personal. An account is used and managed only by the
person who connected it, while they remain a member; admins cannot manage
other people's accounts. To give everyone one credential, link it to an app
as described below.

Managing does not grant use. An admin or owner can see, edit, deploy, share and
delete another person's private app, but cannot call its tools unless it is
shared with them. Each call also uses only the caller's own linked accounts, so
nobody runs with another person's accounts. A [scoped connection](/mcp) can
narrow an agent's access further.

The exception is an app's own accounts. An app can require accounts that belong
to the app, such as a team's service key. People who can edit the app link
them for everyone, and only their own accounts. Everyone who can
use the app then uses the linked account through the app's code, for their calls
and the app's background work, without access to the account itself. Editing
the app does not let anyone link somebody else's account. Unlinking stops the
app using it at once, and so does its owner leaving the company.
See [Providers and accounts](/concepts/providers-and-accounts#app-accounts).

People join by invitation.

## Slugs

A company has a slug: lowercase letters, numbers and hyphens, up to 80
characters. Dashboard URLs are built from it, as `/org/<slug>/...`. If the slug
you want is taken, OneDoor adds a short random suffix. Changing a slug does not
leave a redirect behind, so old links stop working.

## Access is never implicit

Being in a company is what grants access. There is no ambient "current
company" that decides it: the company you are looking at in the
dashboard is a display preference and nothing more.

That matters most for agents. An MCP connection is approved for one
company, and the grant records it. Switching company in the dashboard
afterwards does not retarget the connection, including after the token
refreshes. To reach a second company, connect again and approve it
separately. An API call whose URL names a different company than the grant
is refused, even when you belong to both.

Every request revalidates your membership. Losing it stops the connection
working immediately.

## Signing in

Sign in at [app.onedoor.team](https://app.onedoor.team) with an emailed code,
Google or Microsoft. Companies are created by LaneSprout,
and each company's owners are invited by email. Ask for one at
[onedoor.team/request-access](https://onedoor.team/request-access).

A login is not an account. Signing in does not create an
account an app can use, and no tool ever receives your login token. See
[Providers and accounts](/concepts/providers-and-accounts).
