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

  1. Add a new role, like API user
  2. Go to admin/config/services/jsonapi/role_access
  3. Check new role, API User.
  4. Save and you will see it working fine.
  5. Now check Authenticated user and click save.
  6. Current - You will see all user roles
  7. Expected - Only authenticated user role shall be visible.
  8. Moreover, if we uncheck authenticated user, then the other user roles hide.
CommentFileSizeAuthor
#2 3168746-2.patch1.03 KBvaibhavjain
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vaibhavjain created an issue. See original summary.

vaibhavjain’s picture

FileSize
1.03 KB

Adding the patch for the same.

arshadkhan35’s picture

Status: Needs review » Fixed

Hey @vaibhavjain patch looks good, applied and fixed.

arshadkhan35’s picture

Status: Fixed » Active

arshadkhan35’s picture

Status: Active » Fixed

Issue fixed.

arshadkhan35’s picture

Version: 1.0.x-dev » 1.0.0-beta5
Status: Fixed » Closed (fixed)