Role Delegation and Auto Assign Role

Created on 26 June 2014, almost 11 years ago
Updated 27 May 2025, 11 days ago

When I use this module with the auto assign role module, the list of roles available override roles that have been set up to be auto assigned to a new user.

If you have 'role a' set up to be auto assigned to users when they register, but this role is also available to users to choice from when they register than the value of 'role a' overrides it being auto assigned in the hook_user_presave.

It would be good to check what roles have already been assigned when adding the selected roles at user creation. Although this might be misleading if a user hasn't selected 'role a' but have been granted it on registering.

Similarly it would be good to have an integration with the auto assign role module to know what role(s) will be auto assigned so that these can be pre selected on user registration.

Feature request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom mike.davis

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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