Problem/Motivation
Hi first of all, thank you for this module.
I found a bug and want to report it.
Tested on the fresh Drupal installation
Drupal Core: 10.2.3
Personnal Access Restriction : 3.0.5
Steps to reproduce
- Create 2 Roles (Role1, Role2)
- Create 2 Users with Role1 and Role2
- My config :

- My TestPage :

- Test done with the “Anonymous user” role (OK only to an anonymous user) :

- Test done with the role “Role1” (User1):


The module does not work with custom roles
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | par-not-working-3425555.patch | 3.03 KB | vyasdhruv |
| Capture d’écran 2024-03-04 154456.png | 75.83 KB | dimitrihokonmoy | |
| Capture d’écran 2024-03-04 153553.png | 31.21 KB | dimitrihokonmoy | |
| Capture d’écran 2024-03-04 154654.png | 74.99 KB | dimitrihokonmoy | |
| Capture d’écran 2024-03-04 154355.png | 24.51 KB | dimitrihokonmoy |
Issue fork par-3425555
Show commands
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
vyasdhruv commentedComment #4
vyasdhruv commentedComment #6
vyasdhruv commentedComment #7
vyasdhruv commentedI have added the code-change and have raised MR. Till it gets merged, uploading the patch file for use.
Comment #8
dimitrihokonmoy commentedHi, Thanks! Fixed.
GREAT JOB !
Comment #10
rsych commentedThanks @vyasdhruv, @dimitrihokonmoy I've published it in the new release https://www.drupal.org/project/par/releases/3.0.6.
Comment #11
rsych commented