{"id":86922,"date":"2018-06-08T20:22:19","date_gmt":"2018-06-08T20:22:19","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/member-authorisation-for-sheep-crm\/"},"modified":"2020-05-19T05:59:15","modified_gmt":"2020-05-19T05:59:15","slug":"member-authorisation-for-sheep-crm","status":"publish","type":"plugin","link":"https:\/\/hsb.wordpress.org\/plugins\/member-authorisation-for-sheep-crm\/","author":16198009,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"trunk","tested":"5.4.19","requires":"4.4","requires_php":"5.3","requires_plugins":"","header_name":"Member authorisation for Sheep CRM","header_author":"Tall Projects","header_description":"Grants\/revokes a specified WordPress role for users at login based upon their membership status in Sheep CRM. Matching against Sheep CRM records is done by email address.","assets_banners_color":"","last_updated":"2020-05-19 05:59:15","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.tallprojects.co.uk\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1249,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1889910","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1889910","resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.5","1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1889910","resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"The settings screen"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1150,1932,157765,157766,157767],"plugin_category":[58],"plugin_contributors":[157768],"plugin_business_model":[],"class_list":["post-86922","plugin","type-plugin","status-publish","hentry","plugin_tags-crm","plugin_tags-membership","plugin_tags-sheep","plugin_tags-sheep-crm","plugin_tags-sheepcrm","plugin_category-user-management","plugin_contributors-tallprojects","plugin_committers-tallprojects"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/member-authorisation-for-sheep-crm\/assets\/icon-128x128.png?rev=1889910","icon_2x":"https:\/\/ps.w.org\/member-authorisation-for-sheep-crm\/assets\/icon-256x256.png?rev=1889910","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/member-authorisation-for-sheep-crm\/assets\/screenshot-1.png?rev=1889910","caption":"The settings screen"}],"raw_content":"<!--section=description-->\n<p>Grant (and revoke) specified roles at user login, based on their membership status in a <a href=\"http:\/\/getsheep.co.uk?ref=wp-member-auth-plugin\">SheepCRM membership database<\/a>.<\/p>\n\n<p>These roles can then be used for controlling access to member-only content.<\/p>\n\n<p>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.<\/p>\n\n<p>Conversely, if the user does not have an active membership their member role is removed and the non-member role granted.<\/p>\n\n<p>Note that this plugin does not use Sheep user accounts for authentication. Please <a href=\"https:\/\/www.tallprojects.co.uk?ref=wp-member-auth-plugin\">contact Tall Projects<\/a> if you require additional functionality.<\/p>\n\n<h4>Fault tolerant<\/h4>\n\n<p>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.<\/p>\n\n<h4>Administrator bypass<\/h4>\n\n<p>Users with the <code>administrator<\/code> role bypass this plugin. They are not checked against Sheep, nor are their roles changed.<\/p>\n\n<p>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.<\/p>\n\n<h3>Credits<\/h3>\n\n<p>Developed by <a href=\"https:\/\/www.tallprojects.co.uk?ref=wp-member-auth-plugin\">Tall Projects<\/a>. Kindly supported by the <a href=\"https:\/\/www.thepsa.co.uk\">Professional Speaking Association<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Create a <a href=\"https:\/\/intercom.help\/sheepcrm\/automation\/creating-a-sheep-api-key\">SheepCRM API key<\/a>.<\/li>\n<li>Install and activate the plugin.<\/li>\n<li>Go to Settings -&gt; Sheep member authorisation.<\/li>\n<li>Enter your Sheep flock name (client account identifier), Sheep API key and choose the roles you wish to grant\/revoke on login.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt><h3>What happens if the user's email address isn't found in SheepCRM?<\/h3><\/dt>\n<dd><p>Nothing. The user will continue to log in as normal. Their account and roles are not altered.<\/p><\/dd>\n<dt><h3>I need online joining \/ renewals \/ member self-service... What can I do?<\/h3><\/dt>\n<dd><p>This plugin is a simple way to check if your existing WordPress users have an active membership in Sheep.<\/p>\n\n<p>Deeper integrations between WordPress and SheepCRM are available. These include:<\/p>\n\n<ul>\n<li>Online joining and renewals<\/li>\n<li>Member self-service, including managing linked members on organisational memberships<\/li>\n<li>Using Sheep's user accounts for authentication, automatically creating\/updating WordPress user accounts for them as needed<\/li>\n<li>Event registration<\/li>\n<li>Form data capture to Sheep journal records<\/li>\n<\/ul>\n\n<p>Please <a href=\"https:\/\/www.tallprojects.co.uk?ref=wp-member-auth-plugin\">contact Tall Projects<\/a> for more details.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>= 1.1 - 2020-05-20<\/p>\n\n<ul>\n<li>Performance enhancement: query is now made against the contact directory rather than person self-service API.<\/li>\n<li>Sheep query now uses Sheep's case-insensitive matching operator.<\/li>\n<\/ul>\n\n<p>= 1.0.5 - 2019-06-17<\/p>\n\n<ul>\n<li>New option to control timeout value for requests to Sheep.<\/li>\n<\/ul>\n\n<p>= 1.0.4 - 2018-09-06<\/p>\n\n<ul>\n<li>Adjustment to Sheep email query. Now handles matches where a type label has been applied to the email address stored in Sheep.<\/li>\n<\/ul>\n\n<h4>1.0.3 - 2018-06-07<\/h4>\n\n<ul>\n<li>Initial public release<\/li>\n<\/ul>","raw_excerpt":"Grants\/revokes a specified WordPress role for users at login based upon their membership status in SheepCRM.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/86922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=86922"}],"author":[{"embeddable":true,"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tallprojects"}],"wp:attachment":[{"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=86922"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=86922"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=86922"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=86922"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=86922"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=86922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}