You are here

function uc_csv_both_perms in Ubercart CSV 6.2

Same name and namespace in other branches
  1. 7.2 uc_csv.module \uc_csv_both_perms()

uc_csv_both_perms() 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
implementation of hook_menu();

File

./uc_csv.module, line 71

Code

function uc_csv_both_perms() {
  return user_access('administer ubercart csv export settings') || user_access('export ubercart reports as csv files');
}