Title: Member authorisation for Sheep CRM
Author: tallprojects
Published: <strong>June 8, 2018</strong>
Last modified: May 19, 2020

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/member-authorisation-for-sheep-crm/assets/icon-256x256.png?
rev=1889910)

# Member authorisation for Sheep CRM

 By [tallprojects](https://profiles.wordpress.org/tallprojects/)

[Download](https://downloads.wordpress.org/plugin/member-authorisation-for-sheep-crm.zip)

 * [Details](https://wordpress.org/plugins/member-authorisation-for-sheep-crm/#description)
 * [Reviews](https://wordpress.org/plugins/member-authorisation-for-sheep-crm/#reviews)
 *  [Installation](https://wordpress.org/plugins/member-authorisation-for-sheep-crm/#installation)
 * [Development](https://wordpress.org/plugins/member-authorisation-for-sheep-crm/#developers)

 [Support](https://wordpress.org/support/plugin/member-authorisation-for-sheep-crm/)

## Description

Grant (and revoke) specified roles at user login, based on their membership status
in a [SheepCRM membership database](http://getsheep.co.uk?ref=wp-member-auth-plugin).

These roles can then be used for controlling access to member-only content.

User accounts are created and managed in WordPress. These are separate from SheepCRM.
The WordPress user’s email address is used in a query against the people records
in Sheep on login. The specified member role is granted (and non-member role revoked)
if the email address matches a person in Sheep who has an active membership.

Conversely, if the user does not have an active membership their member role is 
removed and the non-member role granted.

Note that this plugin does not use Sheep user accounts for authentication. Please
[contact Tall Projects](https://www.tallprojects.co.uk?ref=wp-member-auth-plugin)
if you require additional functionality.

#### Fault tolerant

No changes to a user’s roles will be made in the (unlikely) event of any issues 
contacting Sheep or error responses returned. Users are still able to login but 
their roles won’t be updated.

#### Administrator bypass

Users with the `administrator` role bypass this plugin. They are not checked against
Sheep, nor are their roles changed.

This is an important and deliberate design consideration. It ensures your WordPress
admin user(s) don’t inadvertently gain or lose roles, which could cause issues managing
your site.

### Credits

Developed by [Tall Projects](https://www.tallprojects.co.uk?ref=wp-member-auth-plugin).
Kindly supported by the [Professional Speaking Association](https://www.thepsa.co.uk).

## Screenshots

[⌊The settings screen⌉⌊The settings screen⌉[

The settings screen

## Installation

 1. Create a [SheepCRM API key](https://intercom.help/sheepcrm/automation/creating-a-sheep-api-key).
 2. Install and activate the plugin.
 3. Go to Settings -> Sheep member authorisation.
 4. Enter your Sheep flock name (client account identifier), Sheep API key and choose
    the roles you wish to grant/revoke on login.

## FAQ

### What happens if the user’s email address isn’t found in SheepCRM?

Nothing. The user will continue to log in as normal. Their account and roles are
not altered.

### I need online joining / renewals / member self-service… What can I do?

This plugin is a simple way to check if your existing WordPress users have an active
membership in Sheep.

Deeper integrations between WordPress and SheepCRM are available. These include:

 * Online joining and renewals
 * Member self-service, including managing linked members on organisational memberships
 * Using Sheep’s user accounts for authentication, automatically creating/updating
   WordPress user accounts for them as needed
 * Event registration
 * Form data capture to Sheep journal records

Please [contact Tall Projects](https://www.tallprojects.co.uk?ref=wp-member-auth-plugin)
for more details.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Member authorisation for Sheep CRM” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ tallprojects ](https://profiles.wordpress.org/tallprojects/)

[Translate “Member authorisation for Sheep CRM” into your language.](https://translate.wordpress.org/projects/wp-plugins/member-authorisation-for-sheep-crm)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/member-authorisation-for-sheep-crm/),
check out the [SVN repository](https://plugins.svn.wordpress.org/member-authorisation-for-sheep-crm/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/member-authorisation-for-sheep-crm/)
by [RSS](https://plugins.trac.wordpress.org/log/member-authorisation-for-sheep-crm/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

= 1.1 – 2020-05-20

 * Performance enhancement: query is now made against the contact directory rather
   than person self-service API.
 * Sheep query now uses Sheep’s case-insensitive matching operator.

= 1.0.5 – 2019-06-17

 * New option to control timeout value for requests to Sheep.

= 1.0.4 – 2018-09-06

 * Adjustment to Sheep email query. Now handles matches where a type label has been
   applied to the email address stored in Sheep.

#### 1.0.3 – 2018-06-07

 * Initial public release

## Meta

 *  Version **1.1**
 *  Last updated **6 years ago**
 *  Active installations **10+**
 *  WordPress version ** 4.4 or higher **
 *  Tested up to **5.4.19**
 *  PHP version ** 5.3 or higher **
 * Tags
 * [crm](https://wordpress.org/plugins/tags/crm/)[membership](https://wordpress.org/plugins/tags/membership/)
 *  [Advanced View](https://wordpress.org/plugins/member-authorisation-for-sheep-crm/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/member-authorisation-for-sheep-crm/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/member-authorisation-for-sheep-crm/reviews/)

## Contributors

 *   [ tallprojects ](https://profiles.wordpress.org/tallprojects/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/member-authorisation-for-sheep-crm/)