When this module is enabled I cannot set user role as user/1

Created on 30 October 2021, over 2 years ago
Updated 2 February 2023, over 1 year ago

Problem/Motivation

"admin" user with ID = 1 must always have every permission on the website

Steps to reproduce

1. Install the module
2. Edit or create new accounts
3. You should be able to assign roles to accounts, however the are where roles are selected doesn't show up. I must user/1 account and explicitly assign role a with permission to assign other roles.

Proposed resolution

Handle user/1 in a special manner.

πŸ› Bug report
Status

Fixed

Version

2.2

Component

Code

Created by

πŸ‡·πŸ‡΄Romania cristiroma

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.69.0 2024