Home Plugins member authorisation for sheep crm
Member authorisation for Sheep CRM logo

Member authorisation for Sheep CRM

by tallprojects on WordPress.org

Grants/revokes a specified WordPress role for users at login based upon their membership status in SheepCRM.

(0)
The settings screen

The settings screen

Grant (and revoke) specified roles at user login, based on their membership status in a SheepCRM membership database.

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 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. Kindly supported by the Professional Speaking Association.

Active installations10+
Weekly downloads
9-40.00%
Version1.1
Last updated5/19/2020
WordPress version4.4
Tested up to5.4.16
PHP version5.3
Tags
crmmembershipsheepsheep CRMsheepCRM