Commit 3dfacf58 authored by jake-mw's avatar jake-mw
Browse files

civi forces permission check on the image callback, so need to create a...

civi forces permission check on the image callback, so need to create a permission that can be assigned to anonymous & authenticated users
parent e9ffe063
......@@ -138,6 +138,7 @@ function cdntaxreceipts_civicrm_permission( &$permissions ) {
$prefix = ts('CiviCRM CDN Tax Receipts') . ': ';
$permissions += array(
'issue cdn tax receipts' => $prefix . ts('Issue Tax Receipts', array('domain' => 'org.civicrm.cdntaxreceipts')),
'track cdn tax receipts' => $prefix . ts('Open Tracking', array('domain' => 'org.civicrm.cdntaxreceipts')),
);
}
......
......@@ -16,6 +16,6 @@
<path>civicrm/cdntaxreceipts/open</path>
<page_callback>CRM_Cdntaxreceipts_Page_OpenEvent</page_callback>
<title>OpenEvent</title>
<access_arguments></access_arguments>
<access_arguments>track cdn tax receipts</access_arguments>
</item>
</menu>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment