Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Role hierarchy

No security coverage Under active development 1,081 sites

This module enforces a user role hierarchy, preventing users from creating, editing, or deleting accounts with roles ranked higher than their own. You can configure the hierarchy by ordering roles on the role management screen, with more powerful roles placed first.

This module provides security features for platforms with a clear user role hierarchy. By enabling this module, lower user roles will no longer be able to create, edit or delete users with more powerful roles.

When you enable this module, the role management screen becomes the criteria for acccount edit permissions depending on the role ordering like this:

1. Accounts with higher roles can create/edit accounts with roles lower or equal in the list
2. Accounts with lower ranking roles cannot edit/create accounts higher role in the rank.

To configure the role hierarchy, simply go to /admin/people/roles and order the roles, having the more powerful roles first.

Similar modules:

- https://www.drupal.org/project/role_weights
- https://www.drupal.org/project/roleweight
- https://www.drupal.org/project/role_delegation

Drupal 8–11

Ask your assistant about Role hierarchy

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.

Activity

Tracked releases
7
Tracked since
Feb 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
4.0.0 Stable 8–11 Dec 17, 2024
8.x-3.4 Stable 8–10 Apr 3, 2023
8.x-3.3 Stable 8–10 Feb 15, 2023
8.x-3.2 Stable 8–10 Feb 7, 2023
8.x-3.1 Stable 8–10 Feb 3, 2023
8.x-3.0 Stable 8–10 Feb 2, 2023
8.x-3.0-beta1 Pre-release 8–10 Feb 1, 2023