Support the grantPermission config action

Created on 13 August 2022, almost 3 years ago
Updated 29 April 2025, 17 days ago

Problem/Motivation

Drupal recipes will support config actions. The first such is grantPermission, used to assign a permission to a user role.

Proposed resolution

Support assigning the permissions stripped from user roles to recipes as config actions.

A basic approach would be to use a regular expression with word breaks to match the permission by package name. For example, the permission "edit own article content" would be added to the article recipe.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

5.0

Component

Assignment Plugins

Created by

πŸ‡¨πŸ‡¦Canada nedjo

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024