Replace global service call of "field_permissions.permissions_service" and manual invokation of FieldPermissionsService with dependency injection

Created on 10 May 2023, about 1 year ago

Problem/Motivation

Any modules wishing to alter or extend the functionality of this module currently will need to completely overwrite the getPermissions method because of getPermissions manual invokation of FieldPermissionsService::getList method. It would be better to replace this manual invokation and any global service calls with dependency injection.

Proposed resolution

Replace manual invokations and global service calls with dependency injection.

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rromore

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

Comments & Activities

Production build 0.69.0 2024