Closed (fixed)
Project:
Group
Version:
4.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
20 Nov 2025 at 13:51 UTC
Updated:
5 Dec 2025 at 15:14 UTC
Jump to comment: Most recent
I was surprised to see no-one reported this yet, but in IndividualGroupPermissionCalculator or IndividualGroupRoleAccessPolicy, we load the group for each membership just to get the ID. That is an unnecessary performance hit, which we should fix.
N/A
Call getGroupRelationship->getGroupId() instead.
N/A
N/A
N/A
N/A
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
kristiaanvandeneyndeWill also need backports to 2.x and 3.x as its a small effort with potentially huge gains.
Comment #9
kristiaanvandeneynde