projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac648bf
)
CRM-20581 - Allow access to 'get' on StateProvince API with 'Access CiviCRM', not...
author
Jon goldberg
<jon@palantetech.coop>
Tue, 16 May 2017 16:59:05 +0000
(12:59 -0400)
committer
Jon goldberg
<jon@palantetech.coop>
Tue, 16 May 2017 16:59:05 +0000
(12:59 -0400)
CRM/Core/Permission.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Permission.php
b/CRM/Core/Permission.php
index e7190cc6ae8979852fb4d6cfe8b381f1da6a784c..d5445fd845e96453ac35c81267b53001cdc38316 100644
(file)
--- a/
CRM/Core/Permission.php
+++ b/
CRM/Core/Permission.php
@@
-1132,6
+1132,12
@@
class CRM_Core_Permission {
// 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(