How modify domain values CustomerUser

English! place to talk about development, programming and coding
Post Reply
giosefer
Znuny newbie
Posts: 3
Joined: 15 Nov 2017, 16:05
Znuny Version: otrs-6.0.0
Real Name: Giuseppe
Company: ATS

How modify domain values CustomerUser

Post by giosefer »

Hi all,

I need to modify list of value into field customerUser if change value into another field customerUser. For example my coonfig.pm is the following:

...
[ 'UserStrutturaAppartenenza', Translatable('Struttura Appartenenza'), 'struttura_appartenenza', 1, 0, 'int', '', 0 ],
[ 'UserDirezioneEnteAgenzia', Translatable('Direzione Ente Agenzia'), 'direzione_ente_agenzia', 1, 0, 'int', '', 0 ],
....

and use the following selectors:
...
UserStrutturaAppartenenza => {
'RAS' => 'RAS',
'ENTI\AGENZIA' => 'ENTI\AGENZIA',
},

UserDirezioneEnteAgenzia => {
'1' => 'Agenzia1',
'2' => 'Agenzia2',
'3' => 'Ass1,
'4' => 'Ass2',
}
...

When i add new user on frontend otrs, i would like that:

if i select value RAS, will be select list value: Agenzia1, Agenzia2
if i select value ENTI\AGENZIA, will be select list value: Ass1, Ass2

Can i use the ACL to implement it or is there another way ?
Can you provide me some example ?

Thanks very much!
Giuseppe.
giosefer
Znuny newbie
Posts: 3
Joined: 15 Nov 2017, 16:05
Znuny Version: otrs-6.0.0
Real Name: Giuseppe
Company: ATS

Re: How modify domain values CustomerUser

Post by giosefer »

Can you help me?! :-(

Thanks!
Giuseppe.
Post Reply