I've spent the last hour or so doing Google searches and Drupal searches for this exact problem regarding Admin Role and nothing came up that describes what I am experiencing. Any help would be appreciated!

Downloaded Admin Role (adminrole-6.x-1.2.tar.gz) from Drupal site.

Unzipped and installed in /sites/all/modules.

Went to Site Building >> Modules and clicked the enable checkbox next to Admin Role 6.x-1.2. Then clicked on Save Configuration.

The Admin Role module never shows up even though it shows as enabled in Site Building >> Modules.

I've checked Administer >> By module. It's not there.

I've checked Administer >> User Management. It's not there.

I've clicked on every link I possibly can under User Management and Admin Role doesn't show up anywhere.

Help please?

I've cleared cache, run cron, uninstalled, deleted, reinstalled, same result.

No idea what the problem is.

Thanks!

~ Angela

Comments

alexgreyhead’s picture

Title: Installed and enabled Admin Role but it doesn't appear anywhere » Usability problem: implement hook_enable to tell admins where and how to configure module when enabled
Version: 6.x-1.2 » 6.x-1.x-dev
Component: Miscellaneous » User interface
Assigned: angela.lynne » Unassigned

Agreed - this is a huge usability oversight :(

The readme.txt for this module says:

INSTALLATION

...

If you don't already have an existing role named 'admin' or 'administrator',
the module will automatically create one for you on install. Otherwise, you can
go to your Admin > Users > User Settings (admin/user/settings) page and select
your preferred admin role under the 'Administrator role' fieldset.

Now when you add a new module, your assigned role will automatically receive
any new available permissions!

For this module to be intuitive - i.e. fire and forget, I'd like to propose that the install process works like this:

- module is enabled in admin/build/modules;
- hook_enable should be used to display a message to the user telling them that the Admin Role module is now installed;
- the module should check for an admin or administrator role
-- if no admin or administrator role is present, create the role and issue a drupal_set_message informing the admin
-- then assign all permissions to that role and display a message informing the user of this fact
- whenever ANY new module is installed, this module should display a drupal_set_message telling the user which new permissions have been assigned to the admin(istrator) role

I think this is a great module, but its lack of feedback makes it infuriatingly difficult to know whether it's actually working or not!

(Edited as I overlooked a detail in my original post)

dave reid’s picture

Status: Active » Fixed

Hooray people can read the readmes!

I'm not a big fan of modules popping up messages on install just to point people where it should be configured since that's what documentation is for, but I do see the point of adding a message when the administrator role is added by the module on install, so I've added one to CVS.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.