Now the roleassign module is use to limit what roles e.g. web admins can assign to other people. However the role_delegation module (https://www.drupal.org/project/role_delegation) offers more option in this regard and is more easily adaptable to specific client needs.

It would be nice to change roleassign with https://www.drupal.org/project/role_delegation with the basic setup the same as now, to allow easier changes.

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

daften created an issue. See original summary.

mohit.bansal623 made their first commit to this issue’s fork.

mohit.bansal623’s picture

Status: Active » Needs review

brentgees made their first commit to this issue’s fork.

brentg’s picture

grayle’s picture

Status: Needs review » Needs work

Webadmin should still be able to assign the webadmin role, which I think should simply be adding 'assign webadmin role' to user.role.webadmin.yml

brentg’s picture

Status: Needs work » Needs review

Hi Nick

This permission is actually already in there, since it's the same name as the one used by roleassign.
But since I did not change anything to that, it does not show up in the MR.

For 100% certainty I looked into the git code, and the permission is available on https://git.drupalcode.org/issue/dropsolid_rocketship_profile-3214899/-/... (this is the fork I created for the mr.)

grayle’s picture

Status: Needs review » Fixed

  • Grayle committed d82ba5e on 5.x
    Revert "Issue #3214899: Replace roleassign with role_delegation"
    
    This...

Status: Fixed » Closed (fixed)

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