Problem/Motivation
When using the "Layout Builder Advanced Permissions Entity" submodule, it seems the action is not properly check when trying to see if a permission applies. This causes "edit" permissions to apply to the add action.
Steps to reproduce
Enable the permission "Add One column layouts on Page content entities"
Disable the permission "Edit One column layouts on Page content entities"
You would expect users to be able to add One column sections, but they can't.
Proposed resolution
Properly verify the action when checking if a permission plugin applies.
Remaining tasks
User interface changes
-
API changes
-
Data model changes
-
Comment | File | Size | Author |
---|---|---|---|
#2 | 3224899-2.patch | 1.01 KB | seanB |
Issue fork layout_builder_perms-3224899
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 #2
seanBPatch is attached.
Comment #4
seanBComment #5
ricovandevin CreditAttribution: ricovandevin at Finlet for iO commentedWe are using this patch in a project for 2 years already. Let's assume the fix works. :-)
Comment #7
ricovandevin CreditAttribution: ricovandevin at Finlet for iO commented