ACL for empty value in properties

Juan Manuel Clavero Almirón <[email protected]>
Newsgroups gmane.comp.otrs.user
Message-ID <4E6C4135180B424CBFC6C6DE9456154A017D258B94@SCPDPSEXMB01P.ssib.local>
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
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.