icon

This project is not covered by Drupal’s security advisory policy.

Role Hierarchy & Permission Visualizer provides a clear, interactive visual breakdown of your Drupal site's access control architecture. Built for Drupal 10 and 11, this module replaces standard permission grids with two comprehensive visualization interfaces: an interactive Organizational Hierarchy Tree and a streamlined Permission Matrix Grid.

Whether managing complex multi-tenant environments or auditing security configurations, this module gives site administrators immediate visual clarity on how permissions cascade across roles.

Features

  • Interactive D3 Hierarchy Tree:
    • Maps site roles visually based on administrative weight and organizational tiering.
    • Displays real-time active user counts (X Users) assigned to every role.
    • Features smooth, collapsible nodes to expand and audit permission sets without clutter.
    • Automatically recalculates layout dimensions to prevent overlapping text in large sites.
  • Comprehensive Permission Matrix Grid:
    • Generates a full cross-reference table mapping roles against site permissions.
    • Features fixed sticky headers for effortless scrolling through long permission sets.
    • Clear visual indicators highlighting active permissions vs. admin bypasses.
  • Developer & Security Friendly:
    • Lightweight architecture using Drupal core's PermissionHandler and Role entities.
    • Restricted via standard administer permissions access control.

Post-Installation

  1. Install via Composer:
    composer require drupal/role_hierarchy_visualizer
  2. Enable the module via Drush or the UI:
    drush en role_hierarchy_visualizer -y
  3. Access the visualizations under the Administration menu:
    • Tree View: /admin/people/roles/hierarchy
    • Matrix View: /admin/people/permissions/matrix
Supporting organizations: 
Funded development

Project information

Releases