Authorization 1.4 compatibility

Created on 13 February 2024, 9 months ago
Updated 28 February 2024, 9 months ago

Problem/Motivation

In the next release of Authorization, 1.4, the method definitions for
Drupal\authorization\Consumer\ConsumerInterface::revokeGrants
Drupal\authorization\Consumer\ConsumerInterface::grantSingleAuthorization

The profile id is passed as an additional argument. This allows the Drupal Role Consumer to revoke roles pre profile.

This feature will be ported to the 2.x branch. The 8.x-1.x branch will get an update to make it compatible with the up coming release of Authorization.

✨ authorization_group_groups field Active

Steps to reproduce

Proposed resolution

Add $profile_id to the Consumer methods.

Remaining tasks

User interface changes

Removed Anonymous role from mapping buildRowForm. Only Anonymous users have the Group Anonymous role.

Changed project to Authorization, in info.yml. Also changed the name to Group Authorization.

API changes

Data model changes

Removed the submitRowForm method. It is not needed. The Authorization module does this for you. It does not do it in the parent::submitRowForm(), which could be confusing.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bluegeek9

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