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
Issue fork layout_builder_perms-3206938
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:
Comments
Comment #3
ricovandevin CreditAttribution: ricovandevin at Finlet for Mollie commentedComment #4
ricovandevin CreditAttribution: ricovandevin at Finlet for Mollie commentedComment #5
sdstyles CreditAttribution: sdstyles as a volunteer and at FFW commentedFixed, thanks for your hard work!