Fix invalid permissions

Created on 31 October 2023, about 1 year ago
Updated 8 November 2023, about 1 year ago

Problem/Motivation

As of Drupal 10, we can no longer have invalid permissions in the database ( https://www.drupal.org/node/3193348 β†’ ). We should avoid adding permissions that are related to other modules at installation, as they might not be installed yet.

Steps to reproduce

Install module without submodules

Undefined permissions:
- "create course_advanced group",
- "create course_basic group",
- "translate course_article node",
- "translate course_section node",
- "translate course_video node".

Proposed resolution

Move permissions to corresponding submodules, and revoke undefined permissions.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ“Œ Task
Status

Fixed

Version

5.1

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024