From: Coleman Watts Date: Thu, 21 Jan 2016 20:26:59 +0000 (-0500) Subject: CRM-17645 - Declare permissions for CaseType api X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0c7d220da408979c7f9f6406fd5db89b2541557f;p=civicrm-core.git CRM-17645 - Declare permissions for CaseType api --- diff --git a/CRM/Core/DAO/permissions.php b/CRM/Core/DAO/permissions.php index 11af708f3a..3c81f7d83b 100644 --- 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'),