Problem/Motivation

This module is a great addition to Layout Builder to allow for a more granular access control. However the permissions defined by this module are still global. There can be contexts in which an even more granular access control is desired (e.g. (dis)allow certain operations based on content type, section or block type.

Steps to reproduce

N/A

Proposed resolution

If we can utilize plugins to define permissions and access control we can use derivers to create access plugins per content type / section / block type (or even entity type / bundle).

As this might lead to an enormous list of permissions we probably also want to have some way to configure for which combinations permissions should be generated.

Remaining tasks

- Create MR
- Review MR
- Merge

User interface changes

- More permissions will be available.
- A configuration form will be available to configure the permissions that should be generated by the module.

API changes

N/A

Data model changes

N/A

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ricovandevin created an issue. See original summary.

ricovandevin’s picture

Status: Active » Needs review
ricovandevin’s picture

Issue summary: View changes
sdstyles’s picture

Version: 8.x-1.x-dev » 2.x-dev
Status: Needs review » Fixed

Fixed, thanks for your hard work!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.