Don't hardcode roles in the install file

Created on 2 September 2025, about 2 months ago

Problem/Motivation

We are hardcoding the names of roles to remove editoria11y permissions from, but if any site has custom roles the permissions will not be removed from them.

Proposed resolution

Load all roles and remove the permissions, then add them back in just for localgov_editor and localgov_admin

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇮🇪Ireland markconroy

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