Add role check and more flexibility to hook_entity_access

Created on 15 September 2024, 7 months ago
Updated 17 September 2024, 7 months ago

Problem/Motivation

The permission check is currently done at evrey access if grant is configured for an entity bundle. Additionally it's currently only done the hard coded grant base operation permissions. This isn't flexible enough and using roles is easier in many situations and a little bit faster.

Steps to reproduce

-

Proposed resolution

Add possibility to configure role-operation and permission-operation per bundle and make using of hard coded base optional.

Remaining tasks

Add code.

User interface changes

Additional settings.php config

API changes

-

Data model changes

-

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany c-logemann Frankfurt/M, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024