When saving the administrator role setting no success message is presented

Created on 25 January 2025, 3 months ago

Problem/Motivation

When using the minimal install profile, no administrator role is created. To manually create an administrator role, you must first add the role, then set the administrator role in role settings. A user who clicks "Save configuration" is not given a status message that the save was successful.

Steps to reproduce

Install Drupal using the minimal profile.
Create a role named "Administrator" at /admin/people/roles
Set the "Administrator" to the administrator role at /admin/people/role-settings and click "Save configuration".
No message is presented making it feel like nothing happened.

Proposed resolution

Add a status message to a successful role setting save: "The role settings have been updated." (Incidentally, this is the exact message that appears when saving /admin/people/roles. That message should probably be "The roles have been updated." )

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

user system

Created by

🇺🇸United States joshuami Portland, OR

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024