This module provides an interactive visual representation of your Drupal site's roles and permissions. It offers both a hierarchical tree view showing role relationships and user counts, and a matrix grid mapping roles to their specific permissions, offering a clearer overview than standard permission grids.
Role Permission Visual 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
PermissionHandlerandRoleentities. - Restricted via standard
administer permissionsaccess control.
- Lightweight architecture using Drupal core's
Post-Installation
-
Install via Composer:
composer require drupal/role_permission_visual -
Enable the module via Drush or the UI:
drush en role_permission_visual -y -
Access the visualizations under the Administration menu:
- Tree View:
/admin/people/roles/hierarchy - Matrix View:
/admin/people/permissions/matrix
- Tree View:
Ask your assistant about Role Permission Visual
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- user Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.