Problem/Motivation

Allow bypassing the role delegation for deletion.

For example, if your site has roles that are synced from an external tool
and therefore not manageable by the current user, but you still want
them to be able to delete the user.

Steps to reproduce

User is unable to delete if they cannot delegate all the roles the user has (which is correct in most scenarios).

Proposed resolution

Ensure that the user still has delete users permission.

Check role delegation access OR change to bypass role delegation via alter hook.

Remaining tasks

Add alter hook

User interface changes

None

API changes

.api.php doc added for documenting the alter hook

Data model changes

None

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

scott_euser created an issue. See original summary.

  • scott_euser committed f43488fa on 8.x-1.x
    Issue #3420477 by scott_euser: Add ability to bypass role delegation via...
scott_euser’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.