administrator role is not created if admin role excists

spade - December 20, 2009 - 14:42
Project:Admin Role
Version:6.x-1.2
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:by design
Description

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.

#1

Dave Reid - December 24, 2009 - 18:40
Status:active» by design

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.

#2

spade - December 28, 2009 - 10:21

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

 
 

Drupal is a registered trademark of Dries Buytaert.