Revoke old permissions from roles

Created on 22 May 2023, about 1 year ago
Updated 26 May 2023, about 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.69.0 2024