Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
If we have multiple user roles, and authenticated is selected, then other user roles shall be hidden. This does not work well when the page reloads.
Steps to reproduce
- Add a new role, like API user
- Go to admin/config/services/jsonapi/role_access
- Check new role, API User.
- Save and you will see it working fine.
- Now check Authenticated user and click save.
- Current - You will see all user roles
- Expected - Only authenticated user role shall be visible.
- Moreover, if we uncheck authenticated user, then the other user roles hide.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3168746-2.patch | 1.03 KB | vaibhavjain |
Comments
Comment #2
vaibhavjainAdding the patch for the same.
Comment #3
arshadkhan35 CreditAttribution: arshadkhan35 as a volunteer commentedHey @vaibhavjain patch looks good, applied and fixed.
Comment #4
arshadkhan35 CreditAttribution: arshadkhan35 as a volunteer commentedComment #6
arshadkhan35 CreditAttribution: arshadkhan35 as a volunteer commentedIssue fixed.
Comment #7
arshadkhan35 CreditAttribution: arshadkhan35 as a volunteer commented