Create a converter to Access Policy API

Created on 28 May 2024, about 1 month ago
Updated 12 June 2024, 17 days ago

Problem/Motivation

Drupal core 10.3 and up contains the Access Policy API, which is a cleaned up version of this module. So let's create a single access policy that in turn calls all "flexible permissions calculators" and returns their result as an access policy. This will allow modules depending on FP to already start using core's API while making sure that any other modules in their ecosystem will still be able to use FP and move to Access Policy API when they have time.

Steps to reproduce

N/A

Proposed resolution

Create an access policy that loops over FP policies.

Remaining tasks

Write this and include tests.

User interface changes

N/A

API changes

Expand the value objects to have a fromCore() and toCore() method so that we can easily switch between the two systems.

Data model changes

N/A

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium kristiaanvandeneynde Antwerp, Belgium

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024