Combining ACLs

Moderator: crythias

Locked
mavrie
Znuny newbie
Posts: 43
Joined: 02 Sep 2014, 15:04
Znuny Version: 4.0.7
Real Name: Mattias
Company: BusSaP
Location: Belgium

Combining ACLs

Post by mavrie »

Hello everyone,

I'm just only starting to figure out ACLs but I thought I had a breakthrough. However, upon testing it seems I'm not quite there yet.

A quick sketch.

Dropdown fields:
DynamicField_Company
DynamicField_Machine
DynamicField_Contract

Step 1
ACL to change Machine in relation to company.

If "CompanyA" is selected, only show "Machine 1".
If "CompanyB" is selected, only show "Machine 2".

So far that is going well.

Step 2
I need to change the available content of the "Contract" field, depending on which "Machine" is selected.

So I created another ACL to do this, but something goes wrong here.

When I select "CompanyA" the correct machines are shown, but whenever I select any of those machines, the "Contract" field never changes, and shows all possibilities. Upon changing the company a few times, eventually it picks up and shows the correct contract.

I made sure the list of ACLs is ordered correctly (by adding numbers to their name).

Any suggestions on this? If more info is needed, I will provide it gladly.

Regards
Otrs 4.0.7 on CentOS 6.5
MySQL Database
Locked