Permissions don't show up on admin/people/permissions, causes errors if added manually to roles

Created on 18 January 2025, 13 days ago

Problem/Motivation

Not sure how this got missed but this module should have a purge_users.permissions.yml (which it doesn't) for those permissions to actually show up on admin/people/permissions. If I try to add the necessary permissions to a role config and try to import it, Drupal 10.3 will throw a fatal error:

In Role.php line 210:
Adding non-existent permissions to a role is not allowed. The incorrect permissions are "access purge
confirmation form", "access purge setting page".

Steps to reproduce

See above.

Proposed resolution

Add purge_users.permissions.yml

Remaining tasks

See proposed resolution.

User interface changes

Permissions now visible on admin/people/permissions, can be added without errors.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇨🇦Canada ambient.impact Toronto

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