{"id":39257,"date":"2015-10-08T10:02:43","date_gmt":"2015-10-08T10:02:43","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/restrict-content-by-role\/"},"modified":"2017-03-19T13:58:11","modified_gmt":"2017-03-19T13:58:11","slug":"restrict-content-by-role","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/restrict-content-by-role\/","author":4029377,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"3.5.6","stable_tag":"3.5.6","tested":"4.5.33","requires":"4.4","requires_php":"","requires_plugins":"","header_name":"Restrict Content by Role","header_author":"Make Do <hello@makedo.net>","header_description":"","assets_banners_color":"2774a0","last_updated":"2017-03-19 13:58:11","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/mkdo\/restrict-content-by-role","header_author_uri":"http:\/\/www.makedo.net","rating":4.5,"author_block_rating":0,"active_installs":400,"downloads":17875,"num_ratings":0,"support_threads":1,"support_threads_resolved":1,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":"2","5":"8"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1616624","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1616624","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1616624","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1616624","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.0","2.0.0","2.1.0","3.0.0","3.1.0","3.1.1","3.1.2","3.2.0","3.3.0","3.3.1","3.4.0","3.4.1","3.4.2","3.5.0","3.5.1","3.5.5","3.5.6"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1261620","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1261620","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1261620","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1261620","resolution":"4","location":"assets"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1279577","resolution":"5","location":"assets"},"screenshot-6.png":{"filename":"screenshot-6.png","revision":"1279577","resolution":"6","location":"assets"}},"screenshots":{"1":"Meta Box to set permissions on hierarchical content","2":"Meta Box on sub-content, showing override options","3":"Meta Box on sub-content, overriding parent permissions","4":"Options page (more options available)","5":"Meta box to set admin permissions on hierarchical content","6":"After admin permission set, an editor can no longer see the page in the admin panel"}},"plugin_section":[],"plugin_tags":[529,6459,2386,1914,2153],"plugin_category":[54,58],"plugin_contributors":[84537,84538],"plugin_business_model":[],"class_list":["post-39257","plugin","type-plugin","status-closed","hentry","plugin_tags-content","plugin_tags-lockdown","plugin_tags-manage","plugin_tags-restrict","plugin_tags-user","plugin_category-security-and-spam-protection","plugin_category-user-management","plugin_contributors-mkdo","plugin_contributors-mwtsn","plugin_committers-mwtsn"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/restrict-content-by-role_2774a0.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/restrict-content-by-role\/assets\/screenshot-1.png?rev=1261620","caption":"Meta Box to set permissions on hierarchical content"},{"src":"https:\/\/ps.w.org\/restrict-content-by-role\/assets\/screenshot-2.png?rev=1261620","caption":"Meta Box on sub-content, showing override options"},{"src":"https:\/\/ps.w.org\/restrict-content-by-role\/assets\/screenshot-3.png?rev=1261620","caption":"Meta Box on sub-content, overriding parent permissions"},{"src":"https:\/\/ps.w.org\/restrict-content-by-role\/assets\/screenshot-4.png?rev=1261620","caption":"Options page (more options available)"},{"src":"https:\/\/ps.w.org\/restrict-content-by-role\/assets\/screenshot-5.png?rev=1279577","caption":"Meta box to set admin permissions on hierarchical content"},{"src":"https:\/\/ps.w.org\/restrict-content-by-role\/assets\/screenshot-6.png?rev=1279577","caption":"After admin permission set, an editor can no longer see the page in the admin panel"}],"raw_content":"<!--section=description-->\n<p>If you have a WordPress website with multiple users and several User Roles defined,\nand you wish to prevent certain User Roles from accessing certain pieces of content\n(and sub-content) both publicly and within <code>wp-admin<\/code>, then this plugin is for you.<\/p>\n\n<p><strong>NOTICE:<\/strong> We are actively developing 'Restrict content by...' which will eventually\nreplace this plugin with something that works better, and will do so much more.<\/p>\n\n<p>The plugin provides the following functionality:<\/p>\n\n<ul>\n<li>A meta box to allow you to set user role permissions for content and its sub-content<\/li>\n<li>Choose if a restricted role can also view or edit that content in wp-admin<\/li>\n<li>An option to allow content, content and sub-content or just sub content to be restricted<\/li>\n<li>An option to allow a custom redirect URL (overriding default redirect URL settings)<\/li>\n<li>The ability to override parent content restrictions on sub-content (including the ability to make it public)<\/li>\n<li>Works with the CMS Tree Page View plugin<\/li>\n<li>An options page, with the following options:\n\n<ul>\n<li>Choose post types that the meta box should appear on<\/li>\n<li>Option to hide restricted pages from menu (only works when using <code>wp_nav_menu()<\/code>)<\/li>\n<li>Choose the roles that will appear in the meta box to be restricted<\/li>\n<li>Define a login screen error message (if no custom redirect URL is set)<\/li>\n<li>Set a custom redirect URL<\/li>\n<li>Prevent users from adding child content to restricted content<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<p>If you are using this plugin in your project <a href=\"mailto:&#x68;&#x65;&#x6c;&#108;&#111;&#064;m&#x61;&#x6b;&#x65;&#100;&#111;&#046;n&#x65;&#x74;\">we would love to hear about it<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Backup your WordPress install<\/li>\n<li>Upload the plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Configure the plugin via the 'Restrict Content by Role' options page under the WordPress 'Settings' Menu<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First stable release<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Reviewed and refactored code<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Updated for submission to WordPress plugin repository<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>The plugin can now restrict access to content on within wp-admin<\/li>\n<li>You can now select which roles are shown in the custom meta box<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Now works with the CMS Tree Page View plugin<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<ul>\n<li>Switched the way the meta box checkboxes work, so that they are more intuitive.<\/li>\n<\/ul>\n\n<h4>3.0.1<\/h4>\n\n<ul>\n<li>Fixed bug where new pages would be locked out.<\/li>\n<\/ul>\n\n<h4>3.1.0<\/h4>\n\n<ul>\n<li>New option to prevent users adding child pages to restricted pages.<\/li>\n<\/ul>\n\n<h4>3.1.1<\/h4>\n\n<ul>\n<li>Bug fix - sometimes new pages were automatically locked.<\/li>\n<\/ul>\n\n<h4>3.1.2<\/h4>\n\n<ul>\n<li>Bug fix - better fix for auto-locking pages.<\/li>\n<\/ul>\n\n<h4>3.2.0<\/h4>\n\n<ul>\n<li>Added checkbox to allow redirects back to the originally requested URL<\/li>\n<\/ul>\n\n<h4>3.3.0<\/h4>\n\n<ul>\n<li>Added 'Public Access' role, to restrict pages to logged in users<\/li>\n<li>Fixed an issue that prevented Tree Page View from working with the plugin<\/li>\n<\/ul>\n\n<h4>3.3.1<\/h4>\n\n<ul>\n<li>Tested with WordPress 4.5, updated translations<\/li>\n<\/ul>\n\n<h4>3.4.0<\/h4>\n\n<ul>\n<li>Option to hide restricted pages from menu (only works when using <code>wp_nav_menu()<\/code>)<\/li>\n<\/ul>\n\n<h4>3.4.1<\/h4>\n\n<ul>\n<li>Added missing Menu Access file<\/li>\n<\/ul>\n\n<h4>3.4.2<\/h4>\n\n<ul>\n<li>Allow admins to see backend menu items, even if they are restricted on the front end<\/li>\n<\/ul>\n\n<h4>3.5.0<\/h4>\n\n<ul>\n<li>Added ability to reset permissions for each role<\/li>\n<li>Fixed menu when not hiding<\/li>\n<li>Appended query string to redirect<\/li>\n<\/ul>\n\n<h4>3.5.1<\/h4>\n\n<ul>\n<li>Added new artwork<\/li>\n<\/ul>\n\n<h4>3.5.2<\/h4>\n\n<ul>\n<li>Bug fixes<\/li>\n<\/ul>\n\n<h4>3.5.3 - 3.5.6<\/h4>\n\n<ul>\n<li>Repair botched deploy<\/li>\n<\/ul>","raw_excerpt":"Restrict users with certain User Roles from accessing content and sub-content,\nboth publicly and the WordPress Dashboard (wp-admin).","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/39257","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=39257"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mwtsn"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=39257"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=39257"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=39257"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=39257"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=39257"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=39257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}