Since I have upgraded to the latest v5 OTRS from v4 I have had an issue with the ACL's working. See below. What am I doing wrong here? Any ideas? The ticket is in 3rd line and I am a member of Role 3rd Line, but I dont get the Close option in the ticket. If i disable the rules I have the close option. I took this from the ZZZACL.pm file although we use the GUI for our rules.
Thanks.
Code: Select all
$Self->{TicketAcl}->{'a - Default lockdown for Tech centre'} = {
  'Possible' => {},
  'PossibleAdd' => {},
  'PossibleNot' => {
    'Action' => [
      'AgentTicketClose'
    ]
  },
  'Properties' => {
    'User' => {
      'Role' => [
        '2nd Line',
        'Service Desk',
        'IT Manager',
        '3rd Line'
      ]
    }
  },
  'PropertiesDatabase' => {},
  'StopAfterMatch' => 0
};Code: Select all
$Self->{TicketAcl}->{'c - Tech Centre Post Catagorization'} = {
  'Possible' => {},
  'PossibleAdd' => {
    'Action' => [
      'AgentTicketClose'
    ]
  },
  'PossibleNot' => {},
  'Properties' => {
    'Queue' => {
      'Name' => [
        '3rd Line'
      ]
    }
  },
  'PropertiesDatabase' => {},
  'StopAfterMatch' => '1'
};