I have an ACL that would like to restrict certain checkboxes. User A can tick checkboxes X & Y but not Z.
Unfortunately the example below does not work. Anyone has any ideas?
I have also tried with DynamicField_Z => ['0'] and DynamicField_Z => ['Unchecked'] but none of them work. The documentation only lists examples for textfields / dropdowns.
I have also tried with a blacklist where I use DynamicField_Z => ['Checked'] (or [1] or ['1']) but that doesn't work either.
Code: Select all
$Self->{TicketAcl}->{'ACL-TFS'} = {
# match properties
Properties => {
# current user match properties
User => {
UserLogin => [
'username',
],
},
},
# return possible options (white list)
Possible => {
# possible ticket options (white list)
Ticket => {
DynamicField_X => [1 , 0],
DynamicField_Y => [1 , 0],
DynamicField_Z => [0],
},
},
};