From 27d33950fbf66f6c4653b53149a5e00bdb210892 Mon Sep 17 00:00:00 2001 From: Johan Vervloet Date: Sat, 1 Aug 2015 23:00:28 +0200 Subject: [PATCH] CRM-15991 - Can now delete relationships with edit all contacts permissions. Delete contacts permission is not required any more for deleting relationships. ---------------------------------------- * CRM-15991: http-api: User needs 'delete contacts' permission to delete relationships https://issues.civicrm.org/jira/browse/CRM-15991 --- CRM/Core/DAO/permissions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/DAO/permissions.php b/CRM/Core/DAO/permissions.php index 98b3cb6c46..afad477239 100644 --- a/CRM/Core/DAO/permissions.php +++ b/CRM/Core/DAO/permissions.php @@ -131,7 +131,7 @@ function _civicrm_api3_permissions($entity, $action, &$params) { ), 'delete' => array( 'access CiviCRM', - 'delete contacts', + 'edit all contacts', ), 'default' => array( 'access CiviCRM', -- 2.25.1