Hi,

I have 3 roles for my website

  • Anonymous user
  • Authenticated user
  • Super user

The statistics page shows fine under the "super user" role but will not show for the "authenticated user" role even though i have the same permissions ticked.

What permission box should be ticked for this page to appear?

Thanks

Comments

cpliakas’s picture

It looks like the "administer search" permission is required. Just a trick for future reference, if you check the module's hook_menu() implementation, look for the path you are trying to access, and then find the "access arguments" key under it. It's value is usually the permission that is required to access that page.

Hope this helps,
Chris

janusman’s picture

Re #2: @cpliakas Thanks for pointing that out. This should probably be somewhere in the documentation (or at least shown to user/1 on the report page itself so they know about this).

Of course, if anyone suggests any code to make a separate permission for this I'd agree to add it =)

efc84’s picture

Thanks for your help, this worked perfect :)

cpliakas’s picture

Status: Active » Fixed

efc84,

Thanks for posting back.

Chris

Status: Fixed » Closed (fixed)

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