We've got some strange requirements that dictate using a "super admin" role with adminrole and have been trying to activate it as part of an install profile. The way the hook_install() code is written it's difficult to avoid having it create the "administrator" role and grant it all the permissions. The attached patch is an attempt to avoid this. Now our install profile can set the variable before the module is installed and use the correct role.

Comments

drewish’s picture

Status: Active » Needs review
StatusFileSize
new3.83 KB

That last patch was an old version with a typo.

drewish’s picture

StatusFileSize
new1.72 KB

uh... hall of mirrors

nancydru’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)