Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

D10 compatibility #754

Merged
merged 21 commits into from
Nov 21, 2022
Merged

D10 compatibility #754

merged 21 commits into from
Nov 21, 2022

Conversation

claudiu-cristea
Copy link
Collaborator

@claudiu-cristea claudiu-cristea commented Nov 19, 2022

Review notes

  • I've added ::accessCheck() to all entity queries (see https://www.drupal.org/node/3201242) without any argument, meaning the access is checked. I did this in order to preserve the current code behavior. However, I'm not sure that this is correct for all the cases. It's not in the scope of this PR to fix potential cases where the entity query should bypass the current user access constraint. The module maintainer should carefully review each case and fix potential cases in a followup.
  • See the hack and the comment I've added in OgRole::calculateDependencies(). The module maintainer should weight on the @todo and, potentially, handle that in a followup.

Copy link
Collaborator

@MPParsley MPParsley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @claudiu-cristea!

@MPParsley MPParsley merged commit 213a9c1 into Gizra:8.x-1.x Nov 21, 2022
@MPParsley MPParsley added this to the 1.0-alpha10 milestone Nov 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants