Allow other modules to decorate group_permission.checker service

Created on 17 June 2024, 10 months ago

Problem/Motivation

Group Privacy module decorates service group_permission.checker. But it does it in a way, that no other decorators are allowed to run on the same service.

Steps to reproduce

Install this module, try to decorate service group_permission.checker with another custom module in the project. Observe that custom decorator is not called.

Proposed resolution

User inner service calls in the decorator instead of parent. See https://symfony.com/doc/current/service_container/service_decoration.html

Remaining tasks

Create MR and/or patch

User interface changes

None

API changes

None

Data model changes

None

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇩🇪Germany a.dmitriiev

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024