Permission removal issues

Created on 19 October 2023, about 1 year ago

Problem/Motivation

Removing permissions isn't working (again) with latest Group 3.x and D10 (maybe also D9).

Steps to reproduce

I've done some limited manual testing: create group type with permissions, create member of group, remove a permission, it still has access. But as this was something I remember from before I've started to make some automated tests.

Proposed resolution

Add tests. Confirm what's failing.

Remaining tasks

Confirm tests. Fix.

Tests also highlight the issue 🐛 Cached permissions not invalidating Active which is making it harder to isolate when it's actually failing. The cache clear is required before checking permissions.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇳🇱Netherlands ekes

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

Comments & Activities

Production build 0.71.5 2024