CRM-15991 - Can now delete relationships with edit all contacts permissions.
authorJohan Vervloet <johanv@johanv.org>
Sat, 1 Aug 2015 21:00:28 +0000 (23:00 +0200)
committerJohan Vervloet <johanv@johanv.org>
Sat, 1 Aug 2015 21:00:28 +0000 (23:00 +0200)
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

index 98b3cb6c46e74ed7cd790d7185c90bd03f2f56e1..afad477239b6c2b6e3031833ca956952dee2e7dd 100644 (file)
@@ -131,7 +131,7 @@ function _civicrm_api3_permissions($entity, $action, &$params) {
     ),
     'delete' => array(
       'access CiviCRM',
-      'delete contacts',
+      'edit all contacts',
     ),
     'default' => array(
       'access CiviCRM',