CRM 0.19.0: Create a managed organization from a company
CRM 0.19.0 lets an administrator turn a CRM company into a managed organization in one step, with a first manager picked from the site’s people, and shows such an organization’s contact address wherever the CRM used to show a login email.
Managed organizations from a company
The Mirror account panel on a company’s edit page gets a second way to create the company’s account: Create managed organization. A managed organization has no login of its own. Its managers sign in with their own accounts, and the company’s email becomes the organization’s contact address.
To use it, search for a person under Find the first manager with Search, choose a person under First manager and confirm. The new organization is linked to the company at once, and the panel badge reads Managed organization.
The option shows only when:
- the site runs PhoenixKit 3.3.0 or later,
- organization accounts are turned on in Settings,
- you are signed in with your own administrator account.
The CRM never grants management because an email matches, and if the managed account cannot be created it does not fall back to an ordinary login. The error says to check your access and the first manager. The existing Create mirror user and Link existing… buttons work as before.
Contact addresses for managed accounts
For a managed organization, the mirror panel, the account pickers, the Organizations list and the role subtabs show the contact address instead of the login email. In the lists, an account without one shows a dash. When the CRM compares a company with its linked account, or links a company to an existing organization by email, it uses that contact address too.
The messages shown after linking to an account whose details the CRM leaves alone now say to edit them in the account’s own settings. The new texts come in English, Estonian and Russian.
Upgrading
No migration and no configuration. Update the dependency. CRM 0.19 still works with PhoenixKit 2.65 up to 3.x. On a core older than 3.3.0, the managed option stays hidden and nothing else changes.
Full release notes: CRM 0.19.0
0.19.0 · 5 November 2026
Added
- Explicit Create managed organization on a company’s mirror panel, requiring an own-account administrator and an active first manager. It uses core’s authorized creation lifecycle, preserves shared contact emails and never grants access or falls back automatically when an email is already taken. The option needs core 3.3.0 and stays hidden on older supported versions.
- Managed mirror email mapping uses
contact_emailin creation, comparisons, resolution and reverse adoption. Account panels, pickers and organization lists show contact addresses; claimed account profiles stay read-only from the CRM. New copy is translated in English, Estonian and Russian.
Changed
- Update locked core to 3.3.0, so the managed mirror tests run instead of
skipping. The
>= 2.65.0 and < 4.0.0pin is unchanged.
Fixed
- Update locked Bandit to 1.14.1 for the HTTP/2 memory-amplification advisory (EEF-CVE-2026-116078) that blocked dependency audit.
- The migration-owner wiring test clones the configured test database, so an
isolated
PGDATABASErun never relies on a stale default database.
CRM 0.19.0. Install or update: {:phoenix_kit_crm, "~> 0.19"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.