Ticket action controller which provides actions according to a
workflow defined in trac.ini.
|
|
|
|
|
|
|
|
environment_created(self)
When an environment is created, we provide the basic-workflow,
unless a ticket-workflow section already exists. |
source code
|
|
|
|
|
|
|
|
|
|
get_ticket_actions(self,
req,
ticket)
Returns a list of (weight, action) tuples that are valid for this
request and this ticket. |
source code
|
|
|
|
get_all_status(self)
Return a list of all states described by the configuration. |
source code
|
|
|
|
| render_ticket_action_control(self,
req,
ticket,
action) |
source code
|
|
|
|
| get_ticket_changes(self,
req,
ticket,
action) |
source code
|
|
|
|
| apply_action_side_effects(self,
req,
ticket,
action) |
source code
|
|
|
|
|
|
|
get_actions_by_operation(self,
operation)
Return a list of all actions with a given operation
(for use in the controller's get_all_status()) |
source code
|
|
|
|
|
|
|
get_allowed_owners(self,
req,
ticket,
action)
Returns users listed in the set_owner field of the action or
possessing the TICKET_MODIFY permission if set_owner is not
specified. |
source code
|
|
|
Inherited from core.Component:
__repr__
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|