Hi Wagner, Hi Carlos

Yes for the first is ok, but you may also need another ACLs that restricts the estate for all other cases like:

$Self->{TicketAcl}->{'ACL-problemstateclose2'} = {
Properties => {
Frontend => {
  Action => ['AgentTicketClose'],
  },
         },
        PossibleNot => {
             Ticket => {
                 State => ['State'],
   },
      },
};


For the second problem I have good news and bad news.... hmmmm well... bad news. I don't think this is possible on other screens in otrs 2.4 or 3.0. Good news I think it can be done in upcoming otrs 3.1, you can check the beta 4 that is already GA and the beta 5 will be released next week.

If you have the chance to check if what you want works ok in otrs 3.1 i will appreciate any feedback

((enjoy))

Carlos Rodríguez




On Jan 26, 2012, at 9:25 AM, Carlos Andrés Gallego Arboleda wrote:

Hi wagner, 

On the first point try this ACL

$Self->{TicketAcl}->{'ACL-problemstateclose'} = {
Properties => {
Frontend => {
Action => ['AgentTicketClose'],
},
Type => {
                  Name => ['Problem'],
              },
         },
        Possible => {
             Ticket => {
                 State => ['State'],
  },
      },
};

And the second one, I can't help you. 

2012/1/26 Wagner <wagnerspi@gmail.com>
Hello,

I have some questions about ACLs

first: I need to create a ACL that works on the TicketViewClose that will add a possible next state if the type of a ticket is problem, is there a way to do this?

second: I created ACLs to filter services based on the type of ticket, if is a incident only services related to incidents, if is a Request only services related to requests. That works fine, but I have a problem, imagine I create a ticket as a Incident after created I want to reclassify it to Request, it doesn't reload the services of Request, only shows the ones from Incident. Is there a way to make ACL work in another views like AddNote or any other?

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

---------------------------------------------------------------------
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