Action not properly checked for EntityPermission::applies().

Created on 22 July 2021, almost 3 years ago
Updated 3 October 2023, 9 months ago

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

-

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands seanB Netherlands

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.69.0 2024