Closed (fixed)
Project:
Dropsolid Rocketship Core
Version:
6.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 May 2021 at 07:52 UTC
Updated:
19 Aug 2021 at 12:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
grayle commentedDoes it do all the same things as roleassign? ie, prevent webadmins from editing users with a role they can't assign (superadmins)?
Comment #3
grayle commentedActually hold on, I'm not sure roleassign does that or if that's a different module entirely. Lemme check
Comment #4
grayle commentedNope, it's userprotect that does the editing stuff so we're all good, I'll replace roleassign with role_delegation
Comment #5
mohit.bansal623 commentedReplaced roleassign with role_delegation.
Comment #6
mohit.bansal623 commentedThe patch is attached above. Please have a look.
Comment #10
grayle commentedComment #12
daften commentedDon't we need an update hook to uninstall roleassign and keep it in the codebase so it can be uninstalled?
Shouldn't we also do this for 6.x?
Comment #13
daften commentedAlso, all the separate modules still have a dependency on roleassign in their info.yml file ...
Comment #14
daften commentedCreated a quick patch to remove roleassign from the submodules too on 5.x, but this could break existing sites with custom roles, so as @brentgees said in a pvt convo, might be better to just undo this on 5.x
Comment #15
brentgAdded a patch that will replace roleassign also for the 5.x branch, since on the 5.x branch more work is required to get this workingEdit: not needed since It's basically similar to the one from daften
Comment #16
brentgComment #18
grayle commentedReverted it for 5.x, 6.x has no features anymore so should be fine dependency wise