Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permission format change #10

Merged
merged 1 commit into from
Mar 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions exportpermission.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ function exportpermission_civicrm_enable() {
*/
function exportpermission_civicrm_permission(&$permissions) {
$permissions[EXPORT_PERMISSION_NAME] = [
E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access export menu'),
E::ts('Access "Export as CSV" drop down menu item from actions menu on after search/report'),
'label' => E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access export menu'),
'description' => E::ts('Access "Export as CSV" drop down menu item from actions menu on after search/report'),
];
$permissions[PRINT_PERMISSION_NAME] = [
E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access print menu'),
E::ts('Access "Print" drop down menu item from actions menu on search/report'),
'label' => E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access print menu'),
'description' => E::ts('Access "Print" drop down menu item from actions menu on search/report'),
];
$permissions[PDF_PERMISSION_NAME] = [
E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access print pdf menu'),
E::ts('Access "Print/Merge document (PDF Letter)" drop down menu item from actions menu on search/report'),
'label' => E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access print pdf menu'),
'description' => E::ts('Access "Print/Merge document (PDF Letter)" drop down menu item from actions menu on search/report'),
];
$permissions[LABEL_PERMISSION_NAME] = [
E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access mailing labels menu'),
E::ts('Access "Print Mailing Labels" drop down menu item from actions menu on search/report'),
'label' => E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access mailing labels menu'),
'description' => E::ts('Access "Print Mailing Labels" drop down menu item from actions menu on search/report'),
];
}

Expand Down