From: Johan Vervloet Date: Tue, 22 Dec 2015 12:42:59 +0000 (+0100) Subject: CRM-17741 - Permissions for RelationshipType.get API. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=da387e7bdcaa142556e3133960dc24b50b522383;p=civicrm-core.git CRM-17741 - Permissions for RelationshipType.get API. ---------------------------------------- * CRM-17741: RelationshipType.get API requires Administer CiviCRM permissions https://issues.civicrm.org/jira/browse/CRM-17741 --- diff --git a/CRM/Core/DAO/permissions.php b/CRM/Core/DAO/permissions.php index 03bbfe0ad9..6e335f41ab 100644 --- a/CRM/Core/DAO/permissions.php +++ b/CRM/Core/DAO/permissions.php @@ -149,6 +149,16 @@ function _civicrm_api3_permissions($entity, $action, &$params) { ), ); + // CRM-17741 - Permissions for RelationshipType. + $permissions['relationship_type'] = array( + 'get' => array( + 'access CiviCRM', + ), + 'default' => array( + 'administer CiviCRM', + ), + ); + // Activity permissions $permissions['activity'] = array( 'delete' => array(