I want next, when the choice of a particular type, it was possible to select only a certain service.
I write two ACL one for Agent and one for user interface. When you select a specific ticket type, you can select only a certain service. The range of services began to look as on the screen. Is it possible to simply removing unnecessary services from the list, and not to make them inactive?
In Agent interface:

In customer interface:

ACL look like that:
$Self->{TicketAcl}->{'ACL-CustomerAXY'} =
{
# these are the properties used for matching ticket etc.
# match properties
Properties => {Frontend => {Action => ['CustomerTicketMessage'] }},
# match property = all customer tickets
Properties => {
# current type match properties
Ticket=> {
Type => [decode_utf8('АХУ')]}},
# return possible options (white list)
Possible => {
# possible ticket options (white list)
Ticket =>
{
Service => [decode_utf8('АХУ')],
Queue => [decode_utf8('АХУ')],
},
},
};
# ticket acl
$Self->{TicketAcl}->{'ACL-AgentAXY'} = {
# match properties
Properties => {
# current type match properties
Ticket => {
Type => [decode_utf8('АХУ')]}},
# return possible options (white list)
Possible => {
# possible ticket options (white list)
Ticket =>
{
Queue => [decode_utf8('АХУ')],
Service => [decode_utf8('АХУ')],
},
},
};