drupal / mutamad_roles
The three job roles of Mutamad and what defines each job: a content editor writes, a content approver publishes, a site administrator runs the site, its accounts and its evidence. Only Drupal core modules. Aligned to NCA ECC-2:2024 2-2-3-3 and 2-2.
Package info
git.drupalcode.org/project/mutamad_roles.git
Type:drupal-recipe
pkg:composer/drupal/mutamad_roles
Requires
- drupal/core: ~11.4.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-30 14:23:48 UTC
README
Mutamad Roles
The three job roles of Mutamad, and what defines each job. Only Drupal core modules. Aligned to NCA ECC-2:2024 2-2-3-3 (separation of duties) and 2-2 (identity and access management).
Built and maintained by iSpectra.
The roles
| Role | Job | Given here |
|---|---|---|
Content Editor (content_editor) | Writes and edits content, and submits it for review | The content list, the files list, every revision, reverting a revision, their own drafts |
Content Reviewer (content_approver) | Writes, reviews and publishes — their own work too, unless the site turns on the second-approver rule | The content list, every revision |
App Admin (IT) (site_admin) | Runs the site: its configuration, its accounts and its evidence. Writes and publishes content as the Content Reviewer does, and gives accounts any role but Administrator | The administration pages, site configuration, menus, user accounts, the content and files lists, site reports, every revision |
The names are the ones people see; the machine names in brackets are what
the other recipes grant to. None is an admin role, so none silently gains the
permissions of a module installed later. The site's administrator role
stays the break-glass account.
Separation of duties (D-06, maintainer's decision 2026-11-17). A Content Editor writes and submits; a Content Reviewer and the App Admin publish — their own work too, unless the site turns on the second-approver rule. The App Admin creates accounts and gives them any job role, never Administrator. Reviewer and App Admin accounts cannot be taken over by changing an email or password, and Administrator accounts not at all. Where one person may write and publish, the audit trail and the revisions record who did which.
What else gives these roles their permissions
This recipe creates the roles; each Mutamad recipe grants them the permissions for its own area, and applies this recipe first:
| Recipe | Adds |
|---|---|
| Mutamad Security | Password policies per role; the site administrator assigns every job role but Administrator; flood unblocking |
| Mutamad Crypto | MFA, required for every role: the editor, the approver, the site administrator and the administrator |
| Mutamad Workflow | Submitting (editor) and publishing, returning, archiving (approver) |
| Mutamad Admin | Protects accounts: only the administrator changes an approver's or site administrator's email or password, and anything on an administrator account |
| Mutamad Media, Editor, Forms, Multilingual | Their area's permissions |
Why a recipe of its own
A recipe cannot grant a permission "only if the role exists": on Drupal 11.4 a grant to a missing role stops the recipe. So every recipe that grants to the job roles applies this one first. Being small, and using only core modules, it lets a single Mutamad recipe — media, forms, the workflow — be applied to a vanilla Drupal site with just these three roles, not Mutamad's whole security baseline.
Requirements
Drupal core 11.4.
Apply it to an existing site
composer require drupal/mutamad_roles
drush recipe ../recipes/mutamad_roles
A role that already exists under the same machine name — content_editor,
which core's Standard recipe creates, for one — is kept and only gains
permissions. Recipes cannot remove a permission or a role.
License
GPL-2.0-or-later.
Maintainers
Built and maintained by iSpectra (on drupal.org).
