Adding missing documentation and screenshots.
Go to file
dennis d6d0be65aa Update 'README.md' 2020-04-27 21:42:34 +00:00
LICENSE.txt Added extension 2018-06-28 23:10:25 +05:30
README.md Update 'README.md' 2020-04-27 21:42:34 +00:00
delete-relationships_edited.png Upload files to '' 2020-04-27 21:40:53 +00:00
deleterelationshipperm.civix.php fixed syntax 2018-06-28 23:33:19 +05:30
deleterelationshipperm.php Updated error message and suppressed disable link 2018-07-03 03:00:58 +05:30
info.xml Update 'info.xml' 2020-04-27 19:55:40 +00:00

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)

  1. If you have not already done so, setup Extensions Directory
    1. Go to Administer » System Settings » Directories
    2. Set an appropriate value for CiviCRM Extensions Directory. For example, for Drupal, [civicrm.files]/ext/
    3. In a different window, ensure the directory exists and is readable by your web server process.
    4. Click Save.
  2. If you have not already done so, setup Extensions Resources URL
    1. Go to Administer » System Settings » Resource URLs
    2. Beside Extension Resource URL, enter an appropriate values such as [civicrm.files]/ext/
    3. Click Save.
  3. Install Delete Relationship Permission extension
    1. Go to Administer » System Settings » Extensions.
    2. Click on Add New tab.
    3. 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.
      1. Beside Delete Relationship Permission, click Download.
    4. 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].

delete-relationships_edited.png screenshot