Cached permissions not invalidating

Created on 21 September 2023, 9 months ago
Updated 6 October 2023, 9 months ago

Problem/Motivation

Hi, I'm working on fixing some tests on the localgov_micosites_group module and have been debugging some test failures which seem to point to this module and specifically the GroupPermissionsChainPermissionCalculator.php and permissions caching not invalidating when a permission for a group is changed.

At this moment I believe it might be a bug due to how much has changed with the Group module, but I would appreciate someone with more knowledge of the group_permissions module to confirm this.

Steps to reproduce

  1. Run the v3 branch of the Microsites Project
  2. Run the test `GroupPermissionsHelperTest::testGetPermissions` and `GroupPermissionsHelperTest::testToggleModulePermissions`
πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom millnut

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

Comments & Activities

Production build 0.69.0 2024