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:
96454ca
)
CRM-17645 - Declare permissions for CaseType api
author
Coleman Watts
<coleman@civicrm.org>
Thu, 21 Jan 2016 20:26:59 +0000
(15:26 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Thu, 21 Jan 2016 20:26:59 +0000
(15:26 -0500)
CRM/Core/DAO/permissions.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/DAO/permissions.php
b/CRM/Core/DAO/permissions.php
index 11af708f3a75435ac56ebe3d4f177792621c9305..3c81f7d83bbfe2954cd6578eb921c5e14e013e6b 100644
(file)
--- a/
CRM/Core/DAO/permissions.php
+++ b/
CRM/Core/DAO/permissions.php
@@
-183,6
+183,11
@@
function _civicrm_api3_permissions($entity, $action, &$params) {
);
$permissions['case_contact'] = $permissions['case'];
+ $permissions['case_type'] = array(
+ 'default' => array('administer CiviCase'),
+ 'get' => array('access my cases and activities'),
+ );
+
// Campaign permissions
$permissions['campaign'] = array(
'get' => array('access CiviCRM'),