| ... | ... | @@ -24,8 +24,49 @@ See [Category] for an example. |
|
|
|
|
|
|
|
## Tickets
|
|
|
|
|
|
|
|
Apart from read, create, edit and delete actions, there is an additional "set_department" action which will set the value of the cost_bearing_department of a ticket. Here is a quick overview of who can do which action:
|
|
|
|
Apart from read, create, edit and delete actions, there is an additional "set_department" action which will set the value of the cost_bearing_department of a ticket.
|
|
|
|
|
|
|
|
```
|
|
|
|
<transitions>
|
|
|
|
<transition name="add" description="create ticket" notification="" pre-state="" post-state="" type="create" binding-reference="owning_client">
|
|
|
|
<transition-attribute name="subject" required="true"/>
|
|
|
|
<transition-attribute name="category" required="true"/>
|
|
|
|
</transition>
|
|
|
|
<transition name="modify" description="edit ticket" notification="" pre-state="" post-state="" type="edit" binding-reference="owning_client">
|
|
|
|
<transition-attribute name="subject" required="false"/>
|
|
|
|
<transition-attribute name="category" required="false"/>
|
|
|
|
</transition>
|
|
|
|
<transition name="purge" description="delete ticket" notification="" pre-state="" post-state="" type="delete" binding-reference="owning_client">
|
|
|
|
</transition>
|
|
|
|
|
|
|
|
<transition name="set_department" description="pay the costs" notification="" pre-state="" post-state="" type="edit" binding-reference="cost_bearing_department">
|
|
|
|
<transition-attribute name="cost_bearing_department" required="true"/>
|
|
|
|
</transition>
|
|
|
|
</transitions>
|
|
|
|
|
|
|
|
<agenda name="customer" description="customer creates tickets" binding-module="system" binding-entity="client">
|
|
|
|
<agenda-bindings>
|
|
|
|
<agenda-binding module="helpdesk" entity="ticket" transition="add" />
|
|
|
|
<agenda-binding module="helpdesk" entity="ticket" transition="modify" />
|
|
|
|
<agenda-binding module="helpdesk" entity="ticket" transition="purge" />
|
|
|
|
</agenda-bindings>
|
|
|
|
</agenda>
|
|
|
|
<agenda name="employee" description="en employee - can see all comments and tickets" binding-module="" binding-entity="">
|
|
|
|
<agenda-bindings>
|
|
|
|
<agenda-binding module="rocks" entity="granite" transition="read" />
|
|
|
|
|
|
|
|
<agenda-binding module="helpdesk" entity="ticket" transition="create" />
|
|
|
|
<agenda-binding module="helpdesk" entity="ticket" transition="edit" />
|
|
|
|
<agenda-binding module="helpdesk" entity="ticket" transition="delete" />
|
|
|
|
</agenda-bindings>
|
|
|
|
</agenda>
|
|
|
|
<agenda name="accounting" description="department bound accounting agenda" binding-module="helpdesk" binding-entity="department">
|
|
|
|
<agenda-bindings>
|
|
|
|
<agenda-binding module="helpdesk" entity="ticket" transition="set_department" />
|
|
|
|
</agenda-bindings>
|
|
|
|
</agenda>
|
|
|
|
```
|
|
|
|
Here is a quick overview of who can do which action:
|
|
|
|
|
|
|
|
```
|
|
|
|
list join on create edit delete set_department
|
| ... | ... | |