Bug in RoleAssignUserBulkForm, roles not shown

Created on 15 June 2023, about 1 year ago
Updated 15 April 2024, 2 months ago

Problem/Motivation

When visiting admin/people you dont see the add/remove roles actions.
This is due to `if (!in_array($config['rid'], $assignable_roles)) {` the check is "in_array" but $assignable_roles has the rids as keys

Proposed resolution

`$assignable_roles = array_keys(_roleassign_get_assignable_roles());`

Remaining tasks

Fix and add tests in the parent issue so any further issues can be discovered.

πŸ› Bug report
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

πŸ‡·πŸ‡΄Romania Andras_Szilagyi

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

Comments & Activities

Production build 0.69.0 2024