delete-relationships_edited.png | ||
deleterelationshipperm.civix.php | ||
deleterelationshipperm.php | ||
info.xml | ||
LICENSE.txt | ||
README.md |
Delete Relationship Permission
com.megaphonetech.deleterelationshipperm
Overview
This extension restricts deletions of relationship between contacts for users not having Delete relationship permission.
This extension has been developed and is being maintained by Megaphone Technology Consulting.
Requirements
- PHP v7.0+
- CiviCRM 4.6+
Installation (Web UI)
- If you have not already done so, setup Extensions Directory
- Go to Administer » System Settings » Directories
- Set an appropriate value for CiviCRM Extensions Directory. For example, for Drupal,
[civicrm.files]/ext/
- In a different window, ensure the directory exists and is readable by your web server process.
- Click Save.
- If you have not already done so, setup Extensions Resources URL
- Go to Administer » System Settings » Resource URLs
- Beside Extension Resource URL, enter an appropriate values such as
[civicrm.files]/ext/
- Click Save.
- Install Delete Relationship Permission extension
- Go to Administer » System Settings » Extensions.
- Click on Add New tab.
- If Delete Relationship Permission is not in the list of extensions, manually download it and unzip it into the extensions direction setup above, then return to this page.
- Beside Delete Relationship Permission, click Download.
- Review the information, then click Install.
Installation (CLI, Zip)
Sysadmins and developers may download the .zip file for this extension and install it with the command-line tool cv.
cd <extension-dir>
cv dl com.megaphonetech.deleterelationshipperm@https://git.megaphonetech.com/CiviWare/com.megaphonetech.deleterelationshipperm/archive/master.zip
Installation (CLI, Git)
This extension has not yet been published for installation via the web UI.
Usage
Upon installation, your access control table will gain a new row where you can specify which user types are allowed to delete contact relationships. Find them by going to Administer menu » Users and Permissions » Permissions (Access Control) » Wordpress Access Control [note: Drupal users will have a slightly different path].