Re: ACL for empty value in properties

Alvaro Cordero <[email protected]>
Newsgroups gmane.comp.otrs.user
Message-ID <CAKzf-ZOF5hQXBj_+5xV76fcny0dMi-0HS3Q5SfKvOAo5g8z0Vw@mail.gmail.com>
Well, you can always make Service to be Mandatory, that should prevent a
ticket to not have one so you shouldn't worry about tickets being closed
without being correctly classified.

Best Regards.

2017-05-17 2:03 GMT-06:00 Juan Manuel Clavero Almirón <
[email protected]>:

> Hi all,
>
> We  want to forbid closing a ticket without service. We've been able to do
> it for stored tickets with an ACL but can't seem to manage in a new ticket
> form (e.g, in AgentTicketPhone). We thought we could do it with Service in
> the Properties section but can't match an undefined value.
>
> Our  last config is like this:
>
>   ConfigChange:
>     PossibleNot:
>       Ticket:
>         State:
>         - closed successful
>         - closed unsuccessful
>   ConfigMatch:
>     Properties:
>       Frontend:
>         Action:
>         - AgentTicketPhone
>       Service:
>         ServiceID:
>         - '[RegExp]^$'
>
> We've also tried with these variants:
>
> option a)
>       Service:
>         ServiceID:
>         - '[NotRegExp]^.+$'
>
> option b)
>       Service:
>         Name:
>         - '[RegExp]^$'
>
> option c)
>       Service:
>         Name:
>         - '[NotRegExp]^.+$'
>
> We've got the ACL debug mode on and it shows matching Action but shows
> nothing on Service.
> Could you help us? What are we missing?
>
> Kind regards,
> Juan Clavero
>
> ---------------------------------------------------------------------
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
>



-- 

*Alvaro Cordero RetanaConsultor de Tecnologias*
*Tel: 22585757 ext 123*
*Email:* [email protected]

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.