Skip to content

Commit

Permalink
dev/core#1230 Permission nuancing, fix another place where merge dupl…
Browse files Browse the repository at this point in the history
…icate contacts should be enough

It seems fine for Rule.create & delete to require administer CiviCRM but merge duplicate contacts should be enough for get
  • Loading branch information
eileenmcnaughton committed Sep 6, 2019
1 parent ab4947f commit 5654496
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CRM/Core/Permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -1184,9 +1184,11 @@ public static function getEntityActionPermissions() {
$permissions['exception'] = [
'default' => ['merge duplicate contacts'],
];

$permissions['job'] = [
'process_batch_merge' => ['merge duplicate contacts'],
];
$permissions['rule_group']['get'] = [['merge duplicate contacts', 'administer CiviCRM']];
// Loc block is only used for events
$permissions['loc_block'] = $permissions['event'];

Expand Down

0 comments on commit 5654496

Please sign in to comment.