While still waiting for better suggestions (please!!), I will answer myself with something that almost gets me where I want; With the following remarks:

 

-          I am not able to HIDE or conditional SHOW the fields yet

-          When using ACL, the sort order determines the first option(??) and the default value set for the field appears to be IGNORED. Bummer…. Now I have to use ‘1 – option’, ‘2 – option2’ … as values to determine my order and default filled field

-          Would be nice to be able to make field mandatory with ACL

 

So here is the current solution:

 

# ticket acl

 $Self->{TicketAcl}->{'ACL-Name-1'} = {

 

 # match properties

        Properties => {

            # EVERYTHING!

 

        },

        Possible => {

 

                Ticket => {

                     # for these fields the ‘not applicable’ is the only choice

                     TicketFreeText2 => ['-'],

                     TicketFreeText3 => ['-'],

                },

        },

 };

 

 

 $Self->{TicketAcl}->{'ACL-Name-2'} = {

 

 # match properties

        Properties => {

 

        # current ticket match properties

                Ticket => {

                 Queue => ['CHANGE'],

                }

 

        },

        Possible => {

                Ticket => {

                        TicketFreeText2 => ['1 - Standard','2 - NonStandard'],

                        TicketFreeText3 => ['3 - Project','2 - Budget','1 - Included (Contract)'],

                },

        },

        #PossibleNot => {

        #       Ticket => {

        #               TicketFreeText2 => ['-'],

        #               TicketFreeText3 => ['-'],

        #       },

        #},

 };

 

 

 

 

 

From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Frans Stekelenburg
Sent: woensdag 4 maart 2009 12:02
To: User questions and discussions about OTRS.
Subject: [otrs] ACL FreeFields on type and/or Queue

 

Hi,

 

Has anybody an ACL in place that shows certain TicketFreeTexts/Keys (or hide them) when a Ticket is either of a certain Type (say Change), and/or Queue?

 

Some freefields have no purpose in certain conditions and I want them do be hidden in such case.

 

KR,

Frans