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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drewish’s picture

Status: Active » Needs review
FileSize
3.83 KB

That last patch was an old version with a typo.

drewish’s picture

FileSize
1.72 KB

uh... hall of mirrors

NancyDru’s picture

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