Sunday, April 19, 2026
Drupal

Permissions Matrix

Visualize and plan Drupal role-based permissions across content types and modules.

Configuration
YAML Output
# Configure roles and permissions on the left, then click Generate YAML

Drupal Permissions Matrix Generator — Overview

Drupal's role-based access control system allows you to assign fine-grained permissions to each role in your system. The Permissions Matrix Generator helps you plan and document which permissions each role should have before implementing them in the Drupal permissions UI or exporting them as configuration YAML.

The generated YAML follows Drupal's configuration management format used in config/sync/user.role.{role_name}.yml. Each role's permissions are listed under its machine name key. You can import this directly into your Drupal site using drush config:import or by placing the file in your sync directory.

Common Drupal Roles and Permissions

  • anonymous — Typically has only access content to view published content.
  • authenticated — Logged-in users. Often can post comments and access additional content.
  • editor — Can create, edit, and publish content but cannot administer the site.
  • administrator — Has all permissions. Usually maps to the admin role defined in site settings.

Best Practices for Drupal Permissions

  • Follow the principle of least privilege — only grant permissions actually required for each role.
  • Test all permission changes in a development environment before applying to production.
  • Export your permissions configuration with drush config:export and store it in version control.
  • Use the Permissions module overview at /admin/people/permissions to verify changes visually.