DynamicFields and ACL

Moderator: crythias

Locked
ciotola
Znuny newbie
Posts: 35
Joined: 27 Apr 2012, 13:56
Znuny Version: 3.2.9 /3.3 / 4.0.5
Real Name: Giampiero
Company: Atos
Location: Roma - IT

DynamicFields and ACL

Post by ciotola »

Hi to all,
i'de like to create an ACL for set the Due_Date (date_time field) in the AgentTicketPhone and CustomerTicketMessage.

If I Set the fields as mandatory it will be mandatory for all the queue while we need it only for specific queue. Because the Fields is with a checkbox it should be also enough starts with the Check selected.
This is and extract of an ACL that i'm trying to write, but on the DynamicFileds i don't know what to set or how to say "checked".

$Self->{TicketAcl}->{'ACL-ZZ-TicketDueDate-01'} = {
Properties => {
Frontend => {
Action => ['AgentTicketPhone','CustomerTicketMessage' ],
},

Queue => {
Name => ['ApplicationServer','VM Environment'],
},
},
Possible => {
Ticket => {
DynamicField_TicketFreeTime6 => [ ], /**** HOW to set a date or check the box ?????
},
},
};

Thanks a lot for your help
OTRS in several version starting from 3.0

Production Environment
OTRS 4.0.5 - Postgres9.3
ITSM, KIX4OTRS, FAQ,SURVEY
OS RedHat 6.4

Auth: Ldap - CAS - DB
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: DynamicFields and ACL

Post by RStraub »

With ACLs you don't set anything, you only make values available or unavailable.

For setting stuff, you need default values, JavaScript or modules.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Locked