Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install ilrt.formalworkflow

How to install ilrt.formalworkflow

  1. Download and install ActivePython
  2. Buy and install the Business Edition license from account.activestate.com
  3. Open Command Prompt
  4. Type pypm install ilrt.formalworkflow

ilrt.formalworkflow contains builds that are only available via PyPM when you have a current ActivePython Business Edition subscription.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.8
1.8 Available View build log
1.7 Available View build log
1.6 Failed View build log
0.6 Available View build log
Windows (64-bit)
1.8
1.8 Available View build log
1.7 Available View build log
1.6 Failed View build log
0.6 Available View build log
Mac OS X (10.5+)
1.8
1.8 Available View build log
1.7 Available View build log
1.6 Failed View build log
0.6 Available View build log
Linux (32-bit)
1.8
1.8 Available View build log
1.7 Available View build log
1.6 Failed View build log
0.6 Available View build log
Linux (64-bit)
1.8
1.8 Available View build log
1.7 Available View build log
1.6 Failed View build log
0.6 Available View build log
 
License
GPL

Overview

Ed Crewe, ILRT at University of Bristol, June 23rd 2013

NOTE: Updated from plone 3.* version 0.6 to Plone 4.0 compatible version 1.6
Latest version is 1.9 tested with Plone 4.3

There are no functional changes between 0.6 and 1.9, just a skins install tweak and updates of the test suite.

See http://bitbucket.org/edcrewe/ilrt.formalworkflow for mecurial source repository, issue tracker etc.

Formal workflow is designed for sites where there may be many editors for whom unmoderated access to change live published content on the web site is not desired. A typical scenario may be an organistaion's public website which has to comply with certain legal restrictions or editorial style for example. To ensure this compliance only a limited subset of editors are trusted to review and publish content. Whilst content in the private state is available to all editors.

This package applies a workflow definition based on simple publication workflow ... but it ensures that editors cannot modify public content. Instead it enables plone.app.iterate with which users can check out a working copy of a published item to work on and resubmit for review.

Editors and owners are also restricted from deleting published items or reverting them to past versions, essentially anything that could change published content, without review.

Workflow

A diagram of the workflow is available in /docs folder

http://mail.ilrt.bris.ac.uk/~cmetc/images/formalworkflow.png

The following walks through a user story:

Editor
- An editor creates a document
- They edit and then submit it for review
- It is now in the pending state

Reviewer
- The document appears for review in their review list so they click on it
- They make a few minor ammendments and publish it

Editor
- A week later some more information needs to be added to the document
- The editor goes to it, but it there is no workflow menu just
  State:Published so they cannot retract it. The edit and history tabs
  are also gone. So instead they must click on 'Make changes' from the actions menu.
- This locks the item and marks it as being edited in a working copy.
- The editor does their edits then clicks on submit to bring their changes to the
  attention of the reviewer

Reviewer
- The reviewer sees the page pop up in their review list
- They click on it and look at the changes the editor has made.
  They like the changes but decide they want some modifications made to them
  by the editor. They dont want to 'Cancel changes' since the editor has done a
  lot of changes, so they just add a note of the further changes needed and make
  the working copy private again.

Editor
- The editor reads the comment and re-edits the working copy, once these final changes
  are complete is it resubmitted to the pending state.

Reviewer
- The reviewer notices the item is back again in their review list, so realises
  it has been re-edited.
  They click on it ... see that it is ready and so do the 'Accept changes' to replace
  the current published version, at which point the working copy is removed.

Notes

This package is really all just xml config data and reworking skin copy, paste and delete security to be object specific rather than folder based. However though it contains little python aside from the functional tests, it is a commonly required workflow which does require some time consuming configuration tweaks.

If this workflow is applied in conjunction with a theme egg then the formalworkflow skin should be added near the top of the editing layer's skins listing in the portal_skins tool.

If this workflow is applied to an existing site you may require the ilrt.migrationtool to use its utility for mapping existing content states from one workflow to another. Otherwise changing workflow reverts objects to the new workflow's default state.

If you wish to use custom types with this workflow you will need to make them versionable via the portal_repository tool or plone.app.iterate will not be available for them.

If formal workflow is applied to folders (as is the default profile setting) then types without workflow such as images and files cannot be added or deleted by editors. To fix this a slightly adapted version of one_state_workflow is also included for these content types that allows for editors to modify this content unrestricted.

You can customize which types use formal_worflow, and hence enforce a review process, via the the portal_workflow tool. You could also choose to only apply formal workflow to the high profile parts of your site, via placeful workflow.

If you dont want users questioned over the location for their checkouts then you can specify a checkout locator globally in the site properties. Currently this would be global_checkout_locator = 'plone.app.iterate.home' or 'plone.app.iterate.parent' If not set then the default behaviour is used.

Changelog for ilrt.formalworkflow

ilrt.formalworkflow - 1.9 Released - 23rd June

  • Fix formalworkflow with latest Plone 4.3, Use index not template attrib from plone.app.iterate
  • Fix doc tests wrt. templates
  • Modify setup.py to specify test requirements

ilrt.formalworkflow - 1.8 Released - 1st December 2011

  • Modify configure zcml for cmf permissions compatibility with plone 4.1
  • Add some standard content rule email notifiers related to workflow actions
  • Add ContentPanels to workflow configuration
  • Fix some deprecated syntax in tests

Changes funded by the University of the Highlands and Islands - John McAlpine & Jane Fitzpatrick

[Ed Crewe, R&D - University of Bristol]

ilrt.formalworkflow - 1.7 Released - 29th September 2011

  • Some files missing from the egg

[Ed Crewe, R&D - University of Bristol]

ilrt.formalworkflow - 1.6 Released - 2nd September 2010

  • Tested against plone 4.0 - fixed tests for new default plone skin
  • Modified skin setup to add formalworkflow layer to the two plone skins not create its own

[Ed Crewe, ILRT - University of Bristol]

ilrt.formalworkflow - 0.6 Released - 10th September 2009

  • Tested against plone 3.3 - fixed tests
  • Added option to globally set check out location in site properties.

[Ed Crewe, ILRT - University of Bristol]

ilrt.formalworkflow - 0.5 Released - 10th June 2009

  • Added a subclass of the iterate info viewlet to redeclare the security so that editors can see it and find existing checkouts.

[Dave Mote, Washtenaw County Government]

ilrt.formalworkflow - 0.4 Released - 20th May 2009

  • Added an adapted version of one_state_workflow to allow editors to add and delete images and files. Since the default formalworkflow profile adds formal_workflow to folders - blocking editor modification of unworkflowed types.

[Ed Crewe, ILRT - University of Bristol]

ilrt.formalworkflow - 0.3 Released - 5th April 2009

  • Changed action names and templates to be less versioning orientated Now uses Make changes, Accept changes and Cancel changes
  • Fixed folder permissions checks blocking delete, copy and paste of objects in published folders for editors
  • Cleaned up permissions
  • Removed unnecessary formalworkflow layer

[Ed Crewe, ILRT - University of Bristol]

ilrt.formalworkflow - 0.2 Released - 20th Jan 2009

  • Released to pypi with some documentation

[Ed Crewe, ILRT - University of Bristol]

ilrt.formalworkflow - 0.1 Unreleased

  • Initial package structure.

[zopeskel]

To Do list

  1. Find a better way to allow permissions of objects to be used rather than those of their containers for delete, copy and paste. Currently it uses a workaround that needs proxy manager then does a manual permission check, within the skins.

Subscribe to package updates

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.