Roles appear twice on User Create and Edit forms

Created on 25 February 2022, over 2 years ago
Updated 16 June 2023, over 1 year ago

Problem/Motivation

Roles appear twice on the User Edit and Create forms.
The primary Account Roles include roles that the user does not have grant permission for.
This allows the administrator to assign elevated roles.

Steps to reproduce

  1. Configure module and permissions
  2. Try to create a user - Roles appear that should not
  3. Try to edit a user - Roles appear that should not

Proposed resolution

Either the main Account Roles should be altered to exclude roles not assigned,
or it should be removed entirely.

Please see image included.

🐛 Bug report
Status

Closed: works as designed

Version

1.2

Component

User interface

Created by

🇺🇸United States jimconte

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024