On a fresh Drupal 6.10 install, I have enabled Attribute, and added all the permissions to the Drupal Administrator Role, but Attribute doesn't show up in the Store Administration Menu. Also, when I try to access the path http://mysite.com/admin/store/attributes I get a Access Denied message and "You are not authorized to access this page." The other modules seem fine.

Thanks, Chris

Comments

cha0s’s picture

Assigned: Unassigned » cha0s
Status: Active » Postponed (maintainer needs more info)

Hm, I can see admin/store/attributes fine here on my local. Please double check your permissions settings and try again...

thill_’s picture

Status: Postponed (maintainer needs more info) » Active
Issue tags: +permissions
StatusFileSize
new248.16 KB
new65.88 KB

cha0s,

I can confirm the issue, I created a role of store admin and only gave that role the three permissions under uc_attribute as shown in shot 1, then as that user i tried to go to the admin/store/attributes and you will see the denial in shot 2.

cha0s’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry, I can't reproduce it. I'm thinking you might need to truncate your cache_menu table (or use a module like devel to clear your cache) since access stuff changed there. I created a role on a user with administer attributes permission and I can access admin/stor/attributes no problem.

cha0s’s picture

Well, this bug is because of a typo that was in uc_attribute at the time of the last beta.

You can get a patch for 2.x here: http://drupal.org/node/279611#comment-1310184 that fixes the typo and also updates your permissions table to correct the issue.

cha0s’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Marking as duplicate.

kevinquillen’s picture

Thanks, this definitely does correct the issue.

Can't believe the first thing I thought to do was look at hook_perm, and totally didn't see the typo. Cest la vie.