Skip to content

Commit

Permalink
Update permission declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Tubach committed Mar 20, 2024
1 parent 85f80ce commit e09f0d4
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions remotetools.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,18 @@ function remotetools_civicrm_entityTypes(&$entityTypes)
*/
function remotetools_civicrm_permission(&$permissions) {
// remote contacts
$permissions['match remote contacts'] = E::ts('RemoteContacts: match and link');
$permissions['retrieve remote contact information'] = E::ts('RemoteContacts: retrieve');
$permissions['retrieve own contact information'] = E::ts('RemoteContacts: retrieve self');
$permissions['update remote contact information'] = E::ts('RemoteContacts: update');
$permissions['match remote contacts'] = [
'label' => E::ts('RemoteContacts: match and link'),
];
$permissions['retrieve remote contact information'] = [
'label' => E::ts('RemoteContacts: retrieve'),
];
$permissions['retrieve own contact information'] = [
'label' => E::ts('RemoteContacts: retrieve self'),
];
$permissions['update remote contact information'] = [
'label' => E::ts('RemoteContacts: update'),
];
}

/**
Expand Down

0 comments on commit e09f0d4

Please sign in to comment.