Define dynamic permission dependencies

Created on 31 January 2024, about 1 year ago
Updated 1 February 2024, about 1 year ago

Problem/Motivation

When a module defines dynamic permissions, it should define their dependencies. See the change record Permissions can define dependencies .

In some cases, the missing dependencies may lead to problems, like 🐛 "Adding non-existent permissions to a role is not allowed." exception is thrown for profile installations Needs work , or crashing the site once the relevant rate widget entity is deleted.

Proposed resolution

Define the dependencies as described in the change record.

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

📌 Task
Status

Needs review

Version

3.0

Component

Code

Created by

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