Define entity_access_by_field permissions for all entity types

Created on 30 October 2023, 8 months ago
Updated 6 November 2023, 8 months ago

Problem/Motivation

The PR #3109 extended functionality of EntityAccessHelper to cover all entity types and rename method to entityAccessCheck(). However, permission definitions in the PR were not updated to apply to this logic.

Starting with Drupal 9.3.0, all permissions in a user role must be defined in a module.permissions.yml file or a permissions callback. Source: https://www.drupal.org/node/3193348 β†’

Steps to reproduce

Follow how to test from https://github.com/goalgorilla/open_social/pull/3583

Proposed resolution

Resolve the issue by defining permissions for entity_access_field for all entity types (at the moment, permissions are defined only for node entity type).

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

12.0

Component

Code (back-end)

Created by

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

Comments & Activities

Production build 0.69.0 2024