Roles tab is redundant for users who can administer users

Created on 1 May 2023, about 1 year ago
Updated 22 June 2023, about 1 year ago

Problem/Motivation

Reported earlier in ✨ Roles tab is redundant for users who can administer users Fixed

From a UI perspective, it seems redundant to have a separate page just to change roles when this can be done via the standard user form for users with the `administer users` permission.

Steps to reproduce

Create a user with 'administer users' permission. Notice the tab 'Roles' is stil available when editing a user.

Proposed resolution

Remove access to the user/%user/roles page when a user has 'administer users' permission.

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands idebr

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

Comments & Activities

Production build 0.69.0 2024