Let "bypass entity_access_by_role_field permissions" only bypass this module's permissions logic

Created on 10 May 2023, over 1 year ago

Problem/Motivation

Currently, the "bypass entity_access_by_role_field permissions" permission, should only bypass this module's permissions. As it currently returns "access allowed" it overrides any other permissions set on the entity.

Instead, we should return access neutral, so other modules can decide what to do.

Steps to reproduce

Proposed resolution

Fix it.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Postponed

Version

2.0

Component

Code

Created by

🇩🇪Germany Grevil

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

Comments & Activities

  • Issue created by @Grevil
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.0.7 + Environment: PHP 8.1 & MySQL 8
    last update over 1 year ago
    Composer require failure
  • @grevil opened merge request.
  • Status changed to Postponed over 1 year ago
  • 🇩🇪Germany Grevil

    Maybe we should actually leave it like it is currently implemented, as if we have this mindset of not allowing access, we should also return neutral, for when the access is allowed through the current role.

    Maybe postpone this? If we really want this implemented in dev, we should also rewrite the permissions description.

Production build 0.71.5 2024