silverstripe-australia/advancedworkflow — pull request #146 by phptek (2014-03-04 08:37:05+00:00)
Title: BUG Fixes #144. Users with limited permissions can delete workflows.

- Added canCreate/canEdit/canDelete() to Definition, Action & Transition.
- canEdit+canDelete call WorkflowDefinition#canCreate().
- Made WorkflowField UI buttons disabled based on the canXX() methods.
- Removed disableButton() methods, using canXX() in template directly.
- Added missing docblocks & tests.