com.megaphonetech.deleterel.../README.md

48 lines
1.9 KiB
Markdown
Raw Normal View History

2018-06-28 17:36:41 +00:00
# Delete Relationship Permission
#### com.megaphonetech.deleterelationshipperm
## Overview
2018-06-28 20:23:21 +00:00
This extension restricts deletions of relationship between contacts for users not having Delete relationship permission.
2020-04-27 18:02:18 +00:00
This extension has been developed and is being maintained by [Megaphone Technology Consulting](https://www.megaphonetech.com/).
## Requirements
2020-04-27 19:43:13 +00:00
- PHP v7.0+
- CiviCRM 5.24.4+
2020-04-27 18:02:18 +00:00
## Installation (Web UI)
2018-06-28 17:36:41 +00:00
2020-04-27 18:22:21 +00:00
1. If you have not already done so, setup *Extensions Directory*
1. Go to **Administer » System Settings » Directories**
1. Set an appropriate value for *CiviCRM Extensions Directory*. For example, for Drupal, `[civicrm.files]/ext/`
2020-04-27 17:52:25 +00:00
1. In a different window, ensure the directory exists and is readable by your web server process.
2020-04-27 18:22:21 +00:00
1. Click **Save**.
1. If you have not already done so, setup *Extensions Resources URL*
1. Go to **Administer » System Settings » Resource URLs**
1. Beside Extension Resource URL, enter an appropriate values such as `[civicrm.files]/ext/`
1. Click **Save**.
2018-06-28 17:36:41 +00:00
1. Install Delete Relationship Permission extension
2020-04-27 18:22:21 +00:00
1. Go to **Administer » System Settings » Extensions**.
1. Click on **Add New tab**.
2020-04-27 17:52:25 +00:00
1. 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.
2020-04-27 18:22:21 +00:00
1. Beside *Delete Relationship Permission*, click **Download**.
1. Review the information, then click **Install**.
2018-06-28 17:36:41 +00:00
2020-04-27 18:02:18 +00:00
## Installation (CLI, Zip)
2020-04-27 18:24:50 +00:00
Sysadmins and developers may download the .zip file for this extension and install it with the command-line tool [cv](https://github.com/civicrm/cv).
2020-04-27 18:02:18 +00:00
2020-04-27 19:34:19 +00:00
`cd <extension-dir>`
2020-04-27 18:22:21 +00:00
2020-04-27 19:34:19 +00:00
`cv dl com.megaphonetech.deleterelationshipperm@https://git.megaphonetech.com/CiviWare/com.megaphonetech.deleterelationshipperm/archive/master.zip`
2020-04-27 18:02:18 +00:00
## Installation (CLI, Git)
2020-04-27 19:37:01 +00:00
This extension has not yet been published for installation via the web UI.
2020-04-27 18:02:18 +00:00
## Usage