Disable root user permissions in Drupal 10

Created on 24 October 2024, 22 days ago

Problem/Motivation

As the Administrator role holds the highest level of privilege, Drupal assigns all permissions to it by default. It might not be feasible due to the potential for overriding core functionality.

Steps to reproduce

  1. Navigate to the Permissions page (/admin/people/permissions).
  2. Notice the root user "administrator" has all permissions enabled and greyed out by default.

Proposed resolution

Is there a way to revoke individual permissions or disable the entire permissions page for this role?

💬 Support request
Status

Active

Version

10.3

Component

user.module

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024