Closed (duplicate)
Project:
Ubercart
Version:
6.x-2.0-beta5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
9 Mar 2009 at 02:22 UTC
Updated:
9 Apr 2009 at 14:02 UTC
Jump to comment: Most recent file
Comments
Comment #1
cha0s commentedHm, I can see admin/store/attributes fine here on my local. Please double check your permissions settings and try again...
Comment #2
thill_ commentedcha0s,
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.
Comment #3
cha0s commentedSorry, 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.
Comment #4
cha0s commentedWell, 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.
Comment #5
cha0s commentedMarking as duplicate.
Comment #6
kevinquillen commentedThanks, 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.