ACL Ticket Type-Service

Hello I have try to make an ACL, to restrict the use of the services depending of the ticket type. Like this $Self->{TicketAcl}->{'ACL-tipos'} = { Properties => { Ticket=>{ Type => ['Requerimientos'], }, }, PossibleNot => { # possible ticket options Ticket => { Service => ['[RegExp]^.*',], #Clear the list first }, }, Possible => { # possible ticket options Ticket => { Service => ['[RegExp]^.Requerimientos*',], #Adding the ticket types }, }, }; But I need your help whit this. The services are Requerimientos::Accesos Requerimientos::software Requerimientos::* I don't nkow how to use wildcards on the ACL Thanks for your help Carlos Gallego

Dear Carlos, you can use this one: $Self->{TicketAcl}->{'ACL-tipos'} = { Properties => { Type => { Name => ['Requerimientos'], }, }, Possible => { Ticket => { Service => ['[RegExp]^Requerimientos::'], }, }, }; Please keep in mind that ACLs don’t sum up. You have to define and match each possible situation in a separated ACL. On 06.10.2011, at 22:08, Carlos Andrés Gallego Arboleda wrote:
I have try to make an ACL, to restrict the use of the services depending of the ticket type. But I need your help whit this.
The services are: Requerimientos::Accesos Requerimientos::software Requerimientos::*
I don't nkow how to use wildcards on the ACL
-- Cheers, Nils http://webint.cryptonode.de / a Fractal project

Thanks a lot Nils, works perfect.
Only modify this.
$Self->{TicketAcl}->{'ACL-tipos'} = {
Properties => {
Type => {
Name => ['Requerimientos'],
},
},
PossibleNot => {
# possible ticket options
Ticket => {
Service => ['[RegExp]^Incidentes::',], #Clear the list first
},
},
Possible => {
Ticket => {
Service => ['[RegExp]^Requerimientos::'],
},
},
};
2011/10/6 Nils Leideck
Dear Carlos,
you can use this one:
$Self->{TicketAcl}->{'ACL-tipos'} = { Properties => { Type => { Name => ['Requerimientos'], }, }, Possible => { Ticket => { Service => ['[RegExp]^Requerimientos::'], }, }, };
Please keep in mind that ACLs don’t sum up. You have to define and match each possible situation in a separated ACL.
On 06.10.2011, at 22:08, Carlos Andrés Gallego Arboleda wrote:
I have try to make an ACL, to restrict the use of the services depending of the ticket type. But I need your help whit this.
The services are: Requerimientos::Accesos Requerimientos::software Requerimientos::*
I don't nkow how to use wildcards on the ACL
-- Cheers, Nils
http://webint.cryptonode.de / a Fractal project
--------------------------------------------------------------------- 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

Dear Carlos, why would you do this? On 06.10.2011, at 23:02, Carlos Andrés Gallego Arboleda wrote:
PossibleNot => { # possible ticket options Ticket => { Service => ['[RegExp]^Incidentes::',], #Clear the list first }, },
-- Cheers, Nils http://webint.cryptonode.de / a Fractal project

For only show the "requerimientos"
and hide the "incidentes" options.
incidentes::hardware
incidentes::software
But i have try whit your solution of the ACL and works much better.
Cheers Nils
Carlos Gallego.
2011/10/6 Nils Leideck
Dear Carlos,
why would you do this?
On 06.10.2011, at 23:02, Carlos Andrés Gallego Arboleda wrote:
PossibleNot => {
# possible ticket options
Ticket => {
Service => ['[RegExp]^Incidentes::',], #Clear the list first
},
},
-- Cheers, Nils
http://webint.cryptonode.de / a Fractal project
--------------------------------------------------------------------- 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
participants (2)
-
Carlos Andrés Gallego Arboleda
-
Nils Leideck