function uc_csv_both_perms in Ubercart CSV 7.2
Same name and namespace in other branches
- 6.2 uc_csv.module \uc_csv_both_perms()
Permissions callback
allow access if one of either the permissions are checked for a user
1 string reference to 'uc_csv_both_perms'
- uc_csv_menu in ./
uc_csv.module - Implements hook_menu
File
- ./
uc_csv.module, line 81
Code
function uc_csv_both_perms() {
return user_access('administer ubercart csv export settings') || user_access('export ubercart reports as csv files');
}