DOCS / FEATURES
Org security policies
An org owner on the Scale plan can require two-factor authentication of
all members and restrict the organization to an IP allowlist. The
allowlist covers API keys and AI assistants as well as people, and a save
that would lock out the person making it is refused. Code:
api/src/orgs/security.rs and api/src/client_ip.rs. UI:
web/src/features/security/SecurityPanel.tsx. Tests:
api/tests/org_security.rs.
The policies
| Policy | Applies to | Effect |
|---|---|---|
| Require two-factor | Members (people, and AI assistants signed in as them) | A member with neither an authenticator app nor a passkey gets 403 two_factor_required on every org route until they set one up |
| IP allowlist | Everyone: members, API keys, assistants | A request from outside the listed ranges gets 403 ip_not_allowed. An empty list allows any address |
A passkey counts as two-factor: it is phishing-resistant and stronger than a code. API keys have no person behind them, so the two-factor requirement doesn't apply to them, but the allowlist does.
Where they're enforced
Both policies are checked in the org guards, orgs::require_permission
and orgs::authorize (api/src/orgs/mod.rs), which every org-scoped
route calls. That covers the app, API keys, and MCP tools,
which run through the same handlers. The check comes after membership
and permission, so a non-member still gets a plain 403 and can't tell
the org exists.
A shut-out member still sees the org in their list, and opening it shows why, with a link to account settings when two-factor is what's missing. Policies don't end sessions. The next request is refused.
[ full guide ]
The rest of this guide comes with the repo.
- Changing them
- The client address