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 |
Jump to:
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
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
Thanks. Would a hint to that effect in the readme be in order?