Interface for Portal reviewing/publishing.
Reviewing/publishing is the process of manipulating the
View
permission of an object. Assigning different roles
to the View
permission makes the object visible to different
groups of people.
This interface seems quite stable. A couple more hooks may be added.
PortalContent implements this interface.
Returns the reviewing management interface.
Return: HTML page
Permission: View management screens
Set the effective_date property
This is when this resource becomes available to be published.
TODO: Shouldn't return an HTML page in all cases. Should accept a DataTime object as well as a string.
Request review
Handle a web request to change the review state.
review_state
is the desired state. This method needs to verify that
the authenticated member is allowed to change to this state, and that
the change makes sense.
comments
are the user-supplied comments to be associated with this
action in the review history.
'effectivedate' is a string representation of a date, which should be passwd to seteffectivedate if it differs from the presently set effectivedate.
Return: HTML page
Permission: None bound, checks for Request review
, Review item
.