It appears to me, that the administrator role is not created if a role with the name admin excists. Even after deleting the admin role, disabling and reenabling the module and running update.php, the role ist not created.

After manual creation of the role administrator, everything works as it should.

Comments

Dave Reid’s picture

Status: Active » Closed (works as designed)

Yeah, it's trying to save you the step if you don't already have some kind of 'admin' role already. If you do, you can just create it like normal. And it's only checked on install, not enable. You'd need to disable, uninstall, and then re-enable adminrole.module to get it to work. Of course, that's a lot more work than just creating the role yourself.

spade’s picture

Thanks. Would a hint to that effect in the readme be in order?