{"id":61097,"date":"2012-12-07T15:10:11","date_gmt":"2012-12-07T20:10:11","guid":{"rendered":"http:\/\/www.bu.edu\/tech\/?page_id=61097"},"modified":"2013-04-11T13:57:04","modified_gmt":"2013-04-11T17:57:04","slug":"workflow","status":"publish","type":"page","link":"https:\/\/www.bu.edu\/tech\/services\/cccs\/websites\/www\/wordpress\/advanced-workflows\/section-editing\/workflow\/","title":{"rendered":"Overview of the Section Editing Workflow"},"content":{"rendered":"<p>Each WordPress site can have multiple users. What a user can and cannot do is determined by their <strong>Role<\/strong>, which\u00a0comprises a specific set of <em>capabilities<\/em>, each governing whether or not specific actions are allowed through the administrative interface. More powerful roles\u00a0have very few limitations in terms of editing and publishing content and configuring site settings (site title, widgets, custom menus, etc.). Less powerful roles are only allowed to carry out a limited subset of content management operations. While these two basic types of roles are\u00a0adequate\u00a0for many, they are not sufficient for some sites.<\/p>\n<p>The BU Section Editing plugin works by introducing a new user role \u2014 <strong>Section Editor<\/strong> \u2014 intended for users that require limited editing &amp; publishing capabilities.<\/p>\n<div id=\"attachment60566\" style=\"width: 580px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment60566\" loading=\"lazy\" src=\"\/tech\/files\/2012\/11\/default-section-editor-perms-page-order.jpeg\" alt=\"Default section editor permissions, as viewed on the Page Order screen\" title=\"default-section-editor-perms-page-order\" width=\"570\" height=\"566\" class=\"size-full wp-image-60566 \" srcset=\"https:\/\/www.bu.edu\/tech\/files\/2012\/11\/default-section-editor-perms-page-order.jpeg 570w, https:\/\/www.bu.edu\/tech\/files\/2012\/11\/default-section-editor-perms-page-order-150x150.jpg 150w\" sizes=\"(max-width: 570px) 100vw, 570px\" \/><p id=\"caption-attachment60566\" class=\"wp-caption-text\">Default section editor permissions, as viewed on the Page Order screen<\/p><\/div>\n<p>Section editors can\u2019t do much until they have been given permission to edit content. Rather than granting content editing permissions to users directly, they are instead assigned to a group. These groups (<strong>Section Groups<\/strong>) are defined by the set of permissions they hold, and the list of members who are given authority through them. They can also be given a name and description to help represent their function. Using the group model allows for permissions to be shared by many users. Users can belong to multiple section groups, and can be added or removed from a group at any time.<\/p>\n<div id=\"attachment60588\" style=\"width: 542px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment60588\" loading=\"lazy\" src=\"\/tech\/files\/2012\/11\/section-editor-undergrad-allowed-nav-tree.jpeg\" alt=\"Section Editor with permission to edit \u201cUndergraduate Program\u201d section\" title=\"section-editor-undergrad-allowed-nav-tree\" width=\"532\" height=\"536\" class=\"size-full wp-image-60588 \" srcset=\"https:\/\/www.bu.edu\/tech\/files\/2012\/11\/section-editor-undergrad-allowed-nav-tree.jpeg 532w, https:\/\/www.bu.edu\/tech\/files\/2012\/11\/section-editor-undergrad-allowed-nav-tree-150x150.jpg 150w\" sizes=\"(max-width: 532px) 100vw, 532px\" \/><p id=\"caption-attachment60588\" class=\"wp-caption-text\">Section Editor with permission to edit \u201cUndergraduate Program\u201d section<\/p><\/div>\n<p>Once a Section Editor belongs to a group, their editing and publishing capabilities will be determined by their Section Group memberships. Permissions are cumulative, so section editors are allowed to edit any content that is allowed through their combined group memberships.<\/p>\n<div class=\"bu_collapsible_container \" aria-live=\"polite\" data-customize-animation=\"false\"><h3 class=\"bu_collapsible\" aria-expanded=\"false\"tabindex=\"0\" role=\"button\">What types of content I can grant permissions to?<\/h3><div class=\"bu_collapsible_section\" style=\"display: none;\"><\/p>\n<p>By default, WordPress ships with two main content types \u2014 <strong>Posts<\/strong> and <strong>Pages<\/strong>. Both of these content types are referred to generically as posts, and each is an example of a specific <strong>Post Type<\/strong>. Post Types can be grouped in to one of two categories: hierarchical and flat. Hierarchical post types (like Pages) allow for parent-child relationships, whereas flat post types (like Posts) only permit a single level of content. &#8220;Section&#8221;\u00a0in <strong>BU Section Editing<\/strong> refers to a page that has children \u2014 something that is only possible with hierarchical post types.<\/p>\n<p>This plugin allows for permissions to be set for each of these post types, and can also support custom post types that may be defined by plugins or themes. For example, the\u00a0<a href=\"https:\/\/www.bu.edu\/tech\/services\/cccs\/websites\/www\/wordpress\/how-to\/profiles\/\">BU Profiles plugin<\/a> uses a custom post type called \u201cProfile\u201d to control editing of profile details.<\/p>\n<p><\/div>\n<\/div>\n\n<div class=\"bu_collapsible_container \" aria-live=\"polite\" data-customize-animation=\"false\"><h3 class=\"bu_collapsible\" aria-expanded=\"false\"tabindex=\"0\" role=\"button\">What can a Section Editor do?<\/h3><div class=\"bu_collapsible_section\" style=\"display: none;\"><\/p>\n<p>By default, not much. Without a Section Group granting them permissions, <strong>a Section Editor cannot edit any published content<\/strong>. They can edit drafts, but they are not allowed to publish them. They can also add new posts, but they cannot publish them <em>unless they are inside a section that they are allowed to edit<\/em>. For hierarchical post types, such as Pages, Section Editors are not permitted to move published content to a top-level location.<\/p>\n<p>Their capabilties for the rest of the WordPress administrative interface are limited as well. Section Editors can not:<\/p>\n<ul>\n<li>Delete items from the <strong>Media Library<\/strong><\/li>\n<li>Manage widgets, custom menus, or anything else found under <strong>Site Design<\/strong><\/li>\n<li>See anything under <strong>Users<\/strong> with the exception of their own profile<\/li>\n<li>Change any settings found under <strong>Settings<\/strong><\/li>\n<\/ul>\n<p><\/div>\n<\/div>\n\n<div class=\"bu_collapsible_container \" aria-live=\"polite\" data-customize-animation=\"false\"><h3 class=\"bu_collapsible\" aria-expanded=\"false\"tabindex=\"0\" role=\"button\">What about non-published content?<\/h3><div class=\"bu_collapsible_section\" style=\"display: none;\"><\/p>\n<p>For the most part, the BU Section Editing plugin is intended for controlling the editing and movement of <em>published<\/em> content. What other post statuses exist in WordPress?<\/p>\n<ul>\n<li><strong>Draft<\/strong> \u2014 Draft posts are not visibile to anyone unless they are logged in and have a special preview URL. A post can be saved as a draft by clicking the <strong>Save Draft<\/strong> button in the <strong>Publish<\/strong> metabox.<\/li>\n<li><strong>Pending<\/strong> \u2014 Pending posts are drafts that are considered ready for publishing by their author and should be reviewed and published by someone authorized. Users who do not have the ability to publish a post can place it in the pending state by clicking the <strong>Submit for Review<\/strong> button in the <strong>Publish<\/strong> metabox.<\/li>\n<li><strong>Trash<\/strong> \u2014 Trashed posts cannot be viewed or edited by anyone until they are restored from the trash. A post can be moved to the trash by clicking the <strong>Move to Trash<\/strong> link in the <strong>Publish<\/strong> metabox.<\/li>\n<\/ul>\n<p>You may see other statuses, but these are the most relevant in terms of this workflow.<\/p>\n<p><\/div>\n<\/div>\n\n<h3><a href=\"..\/start\/\">Continue with<em> Get Started with the Section Editing Plugin <\/em>&gt;&gt;<\/a><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Each WordPress site can have multiple users. What a user can and cannot do is determined by their Role, which\u00a0comprises a specific set of capabilities, each governing whether or not specific actions are allowed through the administrative interface. More powerful roles\u00a0have very few limitations in terms of editing and publishing content and configuring site settings&#8230;<\/p>\n","protected":false},"author":1303,"featured_media":0,"parent":60557,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/61097"}],"collection":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/users\/1303"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/comments?post=61097"}],"version-history":[{"count":15,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/61097\/revisions"}],"predecessor-version":[{"id":64914,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/61097\/revisions\/64914"}],"up":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/60557"}],"wp:attachment":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/media?parent=61097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}