Permissions error if there are disabled lists

Created on 8 January 2024, 11 months ago
Updated 25 January 2024, 10 months ago

Problem/Motivation

The module provides permissions allowing users with specified roles to subscribe to lists. As it is, the permissions remain in place even if a list is disabled, causing a WSOD error if the permissions page (/admin/people/permissions) is saved.

Steps to reproduce

Create a list, then disable it, then try to change some other permissions.

Proposed resolution

Remove permissions for disabled lists from /admin/people/permissions so that other permissions can be changed without triggering an error.

Remaining tasks

Upload patch for review.

User interface changes

Permissions for disabled lists will no longer be shown on /admin/people/permissions. The database entries for those permissions are not erased and will be intact when the list is enabled.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rclemings

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

Comments & Activities

Production build 0.71.5 2024