function uc_store_admin_access in Ubercart 7.3
Same name and namespace in other branches
- 6.2 uc_store/uc_store.module \uc_store_admin_access()
Access callback for top-level store administration menu item.
1 string reference to 'uc_store_admin_access'
- uc_store_menu in uc_store/
uc_store.module - Implements hook_menu().
File
- uc_store/
uc_store.module, line 277 - Contains global Ubercart functions and store administration functionality.
Code
function uc_store_admin_access() {
return user_access('administer store') || user_access('view all orders') || user_access('view customers') || user_access('administer products') || user_access('view reports');
}