Revoke old permissions from roles

Created on 22 May 2023, over 1 year ago
Updated 26 May 2023, over 1 year ago

Problem/Motivation

In Add separate permission for administering configuration vs. unblocking users Fixed , two permissions were renamed. The new permissions were granted to roles with the previous permissions in an update hook, but the old permissions were not removed from those roles. Now, when trying to update those sites to Drupal 10, the upgrade status shows a big warning that those permissions will be removed.

Proposed resolution

In order to not confuse people trying to upgrade, I think those old permission should be revoked in an update hook.

📌 Task
Status

Fixed

Version

2.3

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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

Comments & Activities

Production build 0.71.5 2024