{"id":29121,"date":"2014-04-25T14:30:02","date_gmt":"2014-04-25T14:30:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/lock-by-ldap-query\/"},"modified":"2018-06-21T00:34:50","modified_gmt":"2018-06-21T00:34:50","slug":"lock-by-ldap-query","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/lock-by-ldap-query\/","author":12727058,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.2","stable_tag":"1.0.2","tested":"4.9.29","requires":"3.5.2","requires_php":"","requires_plugins":"","header_name":"Lock By LDAP Query","header_author":"Michael George","header_description":"","assets_banners_color":"","last_updated":"2018-06-21 00:34:50","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/lock-by-ldap-query","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1255,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":{"1.0.2":"<ul>\n<li>All users should upgrade.<\/li>\n<\/ul>","1.0.1":"<ul>\n<li>Required upgrade if using WP 4.3.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"902708","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"902708","resolution":"2","location":"assets"}},"screenshots":{"1":"The main settings page.","2":"The meta box when editing a post."}},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[94110],"plugin_business_model":[],"class_list":["post-29121","plugin","type-plugin","status-closed","hentry","plugin_contributors-george_michael","plugin_committers-george_michael"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/lock-by-ldap-query.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/lock-by-ldap-query\/assets\/screenshot-1.png?rev=902708","caption":"The main settings page."},{"src":"https:\/\/ps.w.org\/lock-by-ldap-query\/assets\/screenshot-2.png?rev=902708","caption":"The meta box when editing a post."}],"raw_content":"<!--section=description-->\n<p>With this plugin, you can set an LDAP query on a page or post so that only users returned from that query can see the page\/post.<\/p>\n\n<p>If users aren't in the query results, they will see a basic message and you can also set a custom message that will also be displayed. This custom message can contain html and is set on a per page basis, so different pages can have different messages.<\/p>\n\n<p>Admin users aren't affected by the query results and the blocking is done during the_content, so if a users that can edit the post can still do so.<\/p>\n\n<p>This was originally created because we had a contact form that we wanted only certain AD users to access. It seemed easier to limit it this way than give out a password to only certain people, hoping they never shared it.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>lock-by-ldap-query.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Re-worked internal query mechanism to fix a bug when large result sets were returned. Should increase performance, too.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Removed PHP4 constructor from class as WP 4.3 deprecated that type of constructor.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial version.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload <code>lock-by-ldap-query.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"Lock a page down so that it can only be viewed by certain LDAP groups","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/29121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=29121"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/george_michael"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=29121"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=29121"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=29121"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=29121"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=29121"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=29121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}