Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Dave ReidYeah, 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.
Comment #2
spade CreditAttribution: spade commentedThanks. Would a hint to that effect in the readme be in order?