Just so anyone who follows this might like to know (I see your code is
related to this, so this is redundant.)
http://doc.otrs.org/3.2/en/html/customization.html#acl-reference

This expects Type and DynamicField which has a name of Categoria (and also
of name SubCategoria) must match those values (AND) together.

But do you think your filter is too specific? (for instance, can you only
choose to filter on DynamicField_SubCategoria because that's the most
significant choice that affects the Possible?)




On Thu, Jan 23, 2014 at 4:47 PM, Alvaro Cordero <alv...@gridshield.net>wrote:

> Thanks Gerald,
>
> I am using OTRS 3.2.10 a sample looks like this. We are using Process
> Module since it makes easier to create custom forms. I am using ACLs due to
> a big list of Default Services available for all internal Customers
>
> It works as it goes, but if I enable either Field(Categoria or
> SubCategoria) ACL just don't work.
>
> $Self->{TicketAcl}->{'P1-A1-AD1-5'} = {
>
>     Properties => {
>
>         Process => {
>
>             ActivityDialogEntityID => ['AD1'],
>
>         },
>
>         Ticket => {
>
>             Type => ['Type1'],
>
>             #DynamicField_Categoria => ['CUSTOMER SUPPORT'],
>
>             #DynamicField_SubCategoria => ['[RegExp]^BUSINESS
> APPLICATIONS'],
>
>         },
>
>     },
>
>     Possible => {
>
>                 Ticket => {
>
>                         Service => ['[RegExp]^Customer Support::Business*'
> ],
>
>                         State => ['open'],
>
>         },
>
>     },
>
> };
>
>
> 2014/1/23 Gerald Young <cryth...@gmail.com>
>
>> What did you try in ACL? Could we see a sample? What version OTRS?
>>
>>
>> On Thu, Jan 23, 2014 at 4:16 PM, Alvaro Cordero <alv...@gridshield.net>wrote:
>>
>>> Hello, I have been working on a deployment where we have two dynamic
>>> Fields Called Category and SubCategory and then the services are defined
>>> based on those two fields.
>>>
>>> I have been working on filtering the Services Available based on the
>>> selection of the above dynamic Fields, but no matter what combination of
>>> properties I do, I cannot get the ACL to work.
>>>
>>> I can filter services based on ticket type though.
>>>
>>> Has anyone achive something like that?
>>>
>>> Thanks
>>>
>>> --
>>> ___________________________
>>> Alvaro Cordero Retana
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>
>
>
> --
> ___________________________
> Alvaro Cordero Retana
> Consultor de Tecnologias
> Gridshield Monitoreo de Redes e
> Infraestructura.
> 2258-5757 ext 123
> alv...@gridshield.net
> www.gridshield.net
>
> ---------------------------------------------------------------------
> 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

Reply via email to