ALEX REISNER / BASEBALL / CODE / CONTACT

Workflow Module Upgrade

I rewrote a large portion of jvandyk's workflow module in order to address a number of problems and add some useful features like per-role control of transitions. Read the discussion on Drupal.org for details.

Benefits
  • fixes several security holes (including forging of the workflow form field) by eliminating hidden fields and checking all input
  • fixes bug #24487 by allowing manual specification of the first state
  • introduces node state history (the who and when of each transition) and registers state changes with watchdog
  • introduces per-role access control for each transition
  • introduces setting/viewing of all transitions on one screen
  • cleans up database schema
  • improves completeness and accuracy of comments
  • makes code simpler and more more modular

Everything on this web site copyright © 2004-2010 Alex Reisner, unless specifically noted.