diff --git a/docs/HISTORY.txt b/docs/HISTORY.txt index abc0f0d..eec31a2 100644 --- a/docs/HISTORY.txt +++ b/docs/HISTORY.txt @@ -4,6 +4,7 @@ Changelog 1.0b3 (XXXX-XX-XX) ------------------ +* Provide our own copy of the default one state workflow. Not all Plone sites have this workflow installed. [hannosch] * Register the event subscribers for the correct interfaces in Plone 3. [hannosch] * Factored out subscriber declarations into its own ZCML file. [hannosch] * Bugfix for #2281226: Moderation View: Comments disappear when hitting the 'Apply' button without choosing a bulk action. [timo] diff --git a/plone/app/discussion/profiles/default/workflows.xml b/plone/app/discussion/profiles/default/workflows.xml index 22e5237..d94ce24 100644 --- a/plone/app/discussion/profiles/default/workflows.xml +++ b/plone/app/discussion/profiles/default/workflows.xml @@ -1,6 +1,7 @@ + diff --git a/plone/app/discussion/profiles/default/workflows/comment_review_workflow/definition.xml b/plone/app/discussion/profiles/default/workflows/comment_review_workflow/definition.xml index cdad5f6..a53fe39 100644 --- a/plone/app/discussion/profiles/default/workflows/comment_review_workflow/definition.xml +++ b/plone/app/discussion/profiles/default/workflows/comment_review_workflow/definition.xml @@ -1,6 +1,6 @@ + + + Access contents information + Change portal events + List folder contents + Modify portal content + View + + + + Visible to everyone, editable by the owner. + + + Anonymous + + + Manager + Owner + Editor + + + Anonymous + + + Manager + Owner + Editor + + + Anonymous + + + + + Previous transition + + + transition/getId|nothing + + + + + + + The ID of the user who performed the previous transition + + + + user/getId + + + + + + + Comment about the last transition + + + + python:state_change.kwargs.get('comment', '') + + + + + + + Provides access to workflow history + + + + state_change/getHistory + + + Request review + Review portal content + + + + + When the previous transition was performed + + + + state_change/getDateTime + + + + + +