Content Block types don't grant bundle-specific permissions

Created on 19 August 2024, 7 months ago
Updated 18 September 2024, 6 months ago

Problem/Motivation

Content Block types don't grant bundle-specific permissions like Node & Terms

Steps to reproduce

Try to use grantPermissionsForEachBlockContentType in a recipe for a user_role, it throws an exception
The "grantPermissionsForEachBlockContentType" plugin does not exist

Proposed resolution

Based on \Drupal\Core\Entity\EntityTypeInterface::getPermissionGranularity()
Nodes and terms, etc. set that bundle. The same needs to be done for block content types.

Remaining tasks

Add permission granularity for Block content entity.

User interface changes

N/A

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

🐛 Bug report
Status

RTBC

Version

11.0 🔥

Component
Block 

Last updated 10 days ago

Created by

🇮🇳India imalabya Bangalore

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