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
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.