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:
b032467
)
CRM-15991 - Can now delete relationships with edit all contacts permissions.
author
Johan Vervloet
<johanv@johanv.org>
Sat, 1 Aug 2015 21:00:28 +0000
(23:00 +0200)
committer
Johan 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
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/DAO/permissions.php
b/CRM/Core/DAO/permissions.php
index 98b3cb6c46e74ed7cd790d7185c90bd03f2f56e1..afad477239b6c2b6e3031833ca956952dee2e7dd 100644
(file)
--- 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',