Switchboard for Craft CMS

Switchboard is a Craft 6 plugin. Craft 6 is still in beta, and so is Switchboard (6.0.0-beta.1) — try it on staging first and use caution on production sites.

Permissions and privacy

Craft 6 only, and still in beta. Switchboard is a native Craft CMS 6 plugin. Craft 6 is still in beta, and so is Switchboard (6.0.0-beta.1). Try it on development and staging sites first, and use caution before running it on a production site — keep backups, and expect things to change between betas. It does not run on Craft 5.

Who gets told

Before anything is rendered for a Craft user, Switchboard checks:

  1. They're active — not pending, suspended, locked or deactivated.
  2. They can view the element, with Craft's own permission check (sections, peer entries, volumes, users). The user an event is about may always be told about themselves.
  3. On a multi-site install, they can access the element's site.
  4. Failed-job notifications go to admins only.

Anyone who fails a check is skipped, and the skip (with its reason) is in the delivery log.

What they're told

Messages are built from a per-recipient snapshot of the element, never from the element itself:

  • a custom field is included only if it's listed under Fields to include and the recipient could see it in the element editor — a user condition on the field or its tab hides it, exactly as in Craft;
  • related elements appear only if the recipient can view them;
  • email addresses and usernames of users appear only for people allowed to view that user;
  • control panel links only go to people with control panel access.

Ad-hoc destinations (an email address that isn't a Craft user, Slack, Discord, Teams, webhooks, SMS) are anonymous viewers: no conditional fields, no email addresses or usernames, no CP links, live related elements only, and no error messages from failed jobs. Treat what you route to them as public.

Who can set rules up

Admins“Manage notification rules”
Rules on any source✓only sources they can view, named explicitly
Failed-job and custom triggers✓—
Ad-hoc destinations✓—
Body templates (_switchboard/)✓—
Change or delete a rule with destinations✓—
Name users as recipients✓with Craft's “View users”; otherwise only themselves
Delivery logeverythingonly deliveries about elements they can view; subjects and errors only for their own deliveries and anonymous destinations (others' are rendered for someone else)

Conditions only read attributes, fields and related elements anyone could see (a disabled or unpublished related entry reads as empty), and Send test ignores conditions and answers the same either way, so neither can be used to learn hidden content.

More plugins

Pairs well with Switchboard