{"id":1369,"date":"2015-02-13T00:04:26","date_gmt":"2015-02-13T00:04:26","guid":{"rendered":"http:\/\/justinandco.com\/plugins\/?p=1369"},"modified":"2017-01-05T19:54:57","modified_gmt":"2017-01-05T19:54:57","slug":"role-excluder","status":"publish","type":"post","link":"https:\/\/justinandco.com\/plugins\/role-excluder\/","title":{"rendered":"Role Excluder"},"content":{"rendered":"<h3><a href=\"https:\/\/i0.wp.com\/justinandco.com\/plugins\/files\/2015\/02\/role-excluder1.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-1374\" src=\"https:\/\/i0.wp.com\/justinandco.com\/plugins\/files\/2015\/02\/role-excluder1.jpg?resize=920%2C193&#038;ssl=1\" alt=\"role-excluder\" width=\"920\" height=\"193\" srcset=\"https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2015\/02\/role-excluder1.jpg?w=920&amp;ssl=1 920w, https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2015\/02\/role-excluder1.jpg?resize=300%2C63&amp;ssl=1 300w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><\/a>&#8216;Role excluder&#8217; came about from the need to hide or mask out certain roles from users who can\u00a0promote others. \u00a0This is necessary when\u00a0the promoters\u00a0don&#8217;t have the full Administrator level of access and are acting as a second level administrators\/staff members.<\/h3>\n<p>&nbsp;<\/p>\n<p>The free\u00a0<a href=\"https:\/\/wordpress.org\/plugins\/role-includer\/\">Role Includer<\/a>\u00a0 plugin, \u00a0like other role type plugins, \u00a0creates a settings screen to assign roles to users with one difference; its not trying to do everything. \u00a0Other such plugins allow Administrators to\u00a0change and manipulate the capabilities of users and\/or roles and they do a good job at this. \u00a0However, the most popular versions don&#8217;t easily have delegated authority to lower levels of administration. \u00a0The &#8216;Role Includer&#8217; plugin keeps it simply about role assignment to other users, where &#8216;Role Excluder&#8217; comes into play is when a lower admin level users (with the &#8216;promote_users&#8217; capability) are allowed to assign roles, but should not have the ability to assign high end role access such as\u00a0&#8216;Adimistrator&#8217;.. &#8216;Super Administrator&#8217; etc&#8230;<\/p>\n<p>As shown here the &#8216;Role excluder&#8217; plugin allows for any role to be given a mask, below the &#8216;Staff Admin&#8217; role has been enabled to generate a mask..<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/justinandco.com\/plugins\/files\/2015\/02\/Roles-tab.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\" size-large wp-image-1413 aligncenter\" src=\"https:\/\/i0.wp.com\/justinandco.com\/plugins\/files\/2015\/02\/Roles-tab-1024x523.png?resize=720%2C368&#038;ssl=1\" alt=\"Roles-tab\" width=\"720\" height=\"368\" srcset=\"https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2015\/02\/Roles-tab.png?resize=1024%2C523&amp;ssl=1 1024w, https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2015\/02\/Roles-tab.png?resize=300%2C153&amp;ssl=1 300w, https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2015\/02\/Roles-tab.png?w=1081&amp;ssl=1 1081w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>We can now go to the &#8216;staff_admin&#8217; tab to mask\/disable individual roles from view, below the role has been configured to\u00a0have no sight\/availability of the &#8216;Administrator&#8217; or &#8216;Developer&#8217; roles.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/justinandco.com\/plugins\/files\/2015\/02\/staff_admin_tab.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1414\" src=\"https:\/\/i0.wp.com\/justinandco.com\/plugins\/files\/2015\/02\/staff_admin_tab.png?resize=731%2C398&#038;ssl=1\" alt=\"staff_admin_tab\" width=\"731\" height=\"398\" srcset=\"https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2015\/02\/staff_admin_tab.png?w=1016&amp;ssl=1 1016w, https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2015\/02\/staff_admin_tab.png?resize=300%2C163&amp;ssl=1 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/a><a href=\"https:\/\/justinandco.com\/plugins\/files\/2015\/02\/staff_admin_tab.png\"><br \/>\n<\/a><a href=\"https:\/\/justinandco.com\/plugins\/files\/2015\/02\/staff_admin_tab.png\"><br \/>\n<\/a><\/p>\n<p>So go download the free &#8216;Role Includer&#8217; plugin, purchase the &#8216;Role Excluder&#8217; plugin and you can quickly delegate\u00a0authority to prompt users without giving too much authority away!<\/p>\n\t<form id=\"edd_purchase_1382\" class=\"edd_download_purchase_form edd_purchase_1382\" method=\"post\">\n\n\t\t\n\t\t<div class=\"edd_purchase_submit_wrapper\">\n\t\t\t<button class=\"edd-add-to-cart button blue edd-submit\" data-nonce=\"0eef9a1f04\" data-timestamp=\"1776096228\" data-token=\"00757d0a0ad7db112fd351c0bb31f506d5617530992d40ad2925c9e6242d22f7\" data-action=\"edd_add_to_cart\" data-download-id=\"1382\" data-variable-price=\"no\" data-price-mode=single data-price=\"0.00\" ><span class=\"edd-add-to-cart-label\">Free&nbsp;&ndash;&nbsp;Add to Cart<\/span> <span class=\"edd-loading\" aria-label=\"Loading\"><\/span><\/button><input type=\"submit\" class=\"edd-add-to-cart edd-no-js button blue edd-submit\" name=\"edd_purchase_download\" value=\"Free&nbsp;&ndash;&nbsp;Add to Cart\" data-action=\"edd_add_to_cart\" data-download-id=\"1382\" data-variable-price=\"no\" data-price-mode=single \/><a href=\"https:\/\/justinandco.com\/plugins\/checkout\/\" class=\"edd_go_to_checkout button blue edd-submit\" style=\"display:none;\">Checkout<\/a>\n\t\t\t\t\t\t\t<span class=\"edd-cart-ajax-alert\" aria-live=\"assertive\">\n\t\t\t\t\t<span class=\"edd-cart-added-alert\" style=\"display: none;\">\n\t\t\t\t\t\t<svg class=\"edd-icon edd-icon-check\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"28\" height=\"28\" viewBox=\"0 0 28 28\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<path d=\"M26.11 8.844c0 .39-.157.78-.44 1.062L12.234 23.344c-.28.28-.672.438-1.062.438s-.78-.156-1.06-.438l-7.782-7.78c-.28-.282-.438-.673-.438-1.063s.156-.78.438-1.06l2.125-2.126c.28-.28.672-.438 1.062-.438s.78.156 1.062.438l4.594 4.61L21.42 5.656c.282-.28.673-.438 1.063-.438s.78.155 1.062.437l2.125 2.125c.28.28.438.672.438 1.062z\"\/>\n\t\t\t\t\t\t<\/svg>\n\t\t\t\t\t\tAdded to basket\t\t\t\t\t<\/span>\n\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t<\/div><!--end .edd_purchase_submit_wrapper-->\n\n\t\t<input type=\"hidden\" name=\"download_id\" value=\"1382\">\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"edd_action\" class=\"edd_action_input\" value=\"add_to_cart\">\n\t\t\n\t\t\n\t\t\n\t<\/form><!--end #edd_purchase_1382-->\n\t\n","protected":false},"excerpt":{"rendered":"<p>&#8216;Role excluder&#8217; came about from the need to hide or mask out certain roles from users who can\u00a0promote others. \u00a0This is necessary when\u00a0the promoters\u00a0don&#8217;t have the full Administrator level of access and are acting as a second level administrators\/staff members. &nbsp; The free\u00a0Role Includer\u00a0 plugin,&#46;&#46;&#46;<\/p>\n","protected":false},"author":4,"featured_media":1376,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8,9],"tags":[51,20],"class_list":["post-1369","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plugins","category-wordpress","tag-exclude","tag-roles"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2015\/02\/role-excluder-square-block.jpg?fit=856%2C625&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/posts\/1369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/comments?post=1369"}],"version-history":[{"count":15,"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/posts\/1369\/revisions"}],"predecessor-version":[{"id":2106,"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/posts\/1369\/revisions\/2106"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/media\/1376"}],"wp:attachment":[{"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/media?parent=1369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/categories?post=1369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/tags?post=1369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}