If a blog is created, you can configure workbench moderation to ensure that the blog is
reviewed before it is published in the Developer Portal.
Before you begin
You must have administrator access to complete this task.
About this task
By completing the tutorial, you can create specific transition states for blog entries to follow
in the Developer Portal before
they are published, and can configure permissions on the Content Author role so that they can
moderate blog publishing.
Procedure
-
To enable the workbench moderation module:
-
On the administrator dashboard, click Modules.
-
In the Search text field, enter the following modules:
- Workbench
Drafty
The
Workbench,
Drafty, and
Workbench Moderation modules
appear.
-
Select the toggle buttons for the Workbench,
Drafty, and Workbench Moderation modules so that a
green tick is displayed.
-
Click Save configuration.
Note: You must rebuild your content access permissions after completing this step.
-
To enable revisions and moderation for Blog entry:
-
On the administrator dashboard, click .
The Content types window is displayed.
-
Click edit for blogs.
-
Click Publishing options and select the check boxes for
Create new revision, then Enable moderation of
revisions.
Important: You must ensure that the Published check box is not
selected.
-
From the Default moderation state drop-down list, select Draft.
-
Click Save content type.
-
On the administrator dashboard, click
-
In the Node Access Permissions section, click Rebuild
permissions, then click Rebuild permissions again.
-
To configure workbench states and transitions for Blog entry:
-
On the administrator dashboard, click .
-
In the New state text field, enter Final Review,
and enter Final mandatory review before the blog can be published in the
Description text field.
Note: You must reconfigure Views after completing this step.
-
Click Save.
-
Select the Transitions tab.
-
Select the check box in the adjacent to Publish, then click
Save.
-
In the Transition Name text field, enter Submit for Final
Review.
-
Select Needs Review from the From drop-down list,
and Final review from the To drop-down list.
-
Click Save.
-
In the Transition Name text field, enter Reject from Final
Review.
-
Select Final Review from the From drop-down list,
and Draft from the To drop-down list.
-
Click Save.
-
In the Transition Name text field, enter
Publish.
-
Select Final Review from the From drop-down list,
and Published from the To drop-down list.
-
Click Save.
-
To set up the permissions for Blog entry for the Content Author role:
-
On the administrator dashboard, click .
-
Click edit permissions for the Content Author
role.
-
Ensure that the following check boxes are selected:
- Node permissions
-
- View content revisions
- Revert content revisions
- Blog entry: Edit own content
- Blog entry: Create new content
- Workbench Moderation permissions
-
- View all unpublished content
- View the moderation messages on a node
- View moderation history
- Use "My drafts" workbench tab
- Use "Needs review" workbench tab
- Moderate all content from Needs Review to Draft
- Moderate all content from Final Review to Draft
- Moderate all content from Needs Review to Final Review
- Moderate all content from Final Review to Published
-
Click Save permissions.
-
To specify the permissions that specific roles require to access the workbench dashboard:
-
On the administrator dashboard, click
-
Select content author from the Drupal role
drop-down list.
-
Select Moderate content from the Moderation task
drop-down list.
-
Select the Blog entry check box.
-
Click Check permissions.
A list of recommended actions are displayed at the top of the Workbench
Moderation window. By following the recommended actions, you can assign the permissions
that are required for a role to access the workbench dashboard.
Results
You have created specific transition states to ensure that a blog does not get published
unless it passes the final review, and that a Content Author can moderate the transition states of
the blog.