Hi Niklas!

I'm sorry for the slow answer. Unfortunately, there is no solution for our problem at this moment, at least that I know. I've opened an issue on the OTRS bug tracker few months ago, but it is still unresolved completely. Take a look at it:

http://bugs.otrs.org/show_bug.cgi?id=5498

Since OTRS guys adopted a new way to rank the bugs/improvements issues (https://otrsteam.ideascale.com), I've also opened a topic to address my needs and it is one of the most voted! Feel free to help to elevate the issue to the top of "OTRS Ideas":

https://otrsteam.ideascale.com/a/dtd/Improve-ACLs---More-flexibilty-and-harmony/85807-10369

2011/6/15 <niklas.johansson@knowit.se>
Hello!

I have been struggling with this problem for a long time now, getting poor response. I wonder if it is possible at all. When the user selects a type, the queues I want to associate with that type should be presented. 

In the customer create ticket, I have managed to hide all queues removing everything in properties like this: 

$Self->{TicketAcl}->{'ACL-hide-queues'} = {
Properties => { 
//Empty
},
        # hide the queues's for types
                PossibleNot => {Ticket => { Queue =>  
   ['[RegExp]^*'] },
  
  },
};

Then, when the user selects a type, the queues I want to associate with that type should be presented. But I cannot present the queues I would like to after the type is selected. Below is the code where I'm trying to get this to work, without success. If I remove the row I have marked with "#This has no effect", the queue is always visible. Hence, I assume that the problem is with the matching properties in some way. 

$Self->{TicketAcl}->{'ACL-show-change-queu-for-rfc'} = {
    Properties => {Frontend => {Action => ['CustomerTicketMessage']},
             Type => { Name => ['RfC'],}, #This has no effect
    },
    Possible => { Ticket => {
         Queue => ['Change Queue Several Nines'] 
    },
  },
};

I have also tried removing "Frontend => {Action => ['CustomerTicketMessage']},". Also, I tried "Ticket" instead of "Type". 

Is this possible at all and if it is, then how? If not, don't hesitate if you feel like explaining why. 

Thanks!

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs