Skip to content

Commit

Permalink
Merge pull request civicrm#10363 from PalanteJon/CRM-20581
Browse files Browse the repository at this point in the history
CRM-20581 - Allow access to 'get' on StateProvince API with 'Access C…
  • Loading branch information
eileenmcnaughton authored May 17, 2017
2 parents 851823f + 755a9e9 commit ec64795
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CRM/Core/Permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,12 @@ public static function getEntityActionPermissions() {
// Loc block is only used for events
$permissions['loc_block'] = $permissions['event'];

$permissions['state_province'] = array(
'get' => array(
'access CiviCRM',
),
);

// Price sets are shared by several components, user needs access to at least one of them
$permissions['price_set'] = array(
'default' => array(
Expand Down

0 comments on commit ec64795

Please sign in to comment.