Edgewall Software

Changes between Version 62 and Version 63 of TracWorkflow


Ignore:
Timestamp:
Dec 2, 2014, 10:59:51 AM (9 years ago)
Author:
Ryan J Ollos
Comment:

The entire reset action must be redefined. Refs #11850.

Legend:

Unmodified
Added
Removed
Modified
  • TracWorkflow

    v62 v63  
    125125}}}
    126126
    127 Since [trac:milestone:1.0.3] the `_reset` action can be customized by treating the above definition of `_reset` as implicit to the `[ticket-workflow]` section and modifying the workflow attributes as desired. For example, to allow anyone with `TICKET_MODIFY` to perform the `_reset` action, only the following would be needed:
    128 {{{#!ini
     127Since [trac:milestone:1.0.3] the `_reset` action can be customized by redefining the implicit action. For example, to allow anyone with `TICKET_MODIFY` to perform the `_reset` action, only the workflow action would need to be defined:
     128{{{#!ini
     129_reset = -> new
     130_reset.name = reset
     131_reset.operations = reset_workflow
    129132_reset.permissions = TICKET_MODIFY
     133_reset.default = 0
    130134}}}
    131135