I am trying to define an ACL to disable closing state and possibly hide the close button from agent's toolbar, for tickets that have a checkbox dynamic field "test01" set.
This is my first attempt:
Code: Select all
---
- ChangeBy: root@localhost
ChangeTime: 2014-09-03 15:54:19
Comment: ''
ConfigChange:
Possible:
Action:
AgentLinkObject: '1'
AgentTicketBounce: '1'
AgentTicketClose: '0'
AgentTicketCompose: '1'
AgentTicketCustomer: '1'
AgentTicketForward: '1'
AgentTicketFreeText: '1'
AgentTicketHistory: '1'
AgentTicketLink: '1'
AgentTicketLock: '1'
AgentTicketMerge: '1'
AgentTicketMove: '1'
AgentTicketNote: '1'
AgentTicketOwner: '1'
AgentTicketPending: '1'
AgentTicketPhone: '1'
AgentTicketPhoneInbound: '1'
AgentTicketPhoneOutbound: '1'
AgentTicketPrint: '1'
AgentTicketPriority: '1'
AgentTicketResponsible: '1'
AgentTicketWatcher: '1'
Ticket:
State:
- new
- open
- pending reminder
ConfigMatch:
Properties:
DynamicField:
DynamicField_test01:
- Checked
CreateBy: root@localhost
CreateTime: 2014-09-03 15:15:02
Description: Allow close ticket only if the ticket has NOT been checked by customer
ID: '11'
Name: 300-Close_on_Approval
StopAfterMatch: '1'
ValidID: '1'
Second attempt (reversing the logic control with a "PossibleNot" condition):
Code: Select all
---
- ChangeBy: root@localhost
ChangeTime: 2014-09-03 15:59:45
Comment: ''
ConfigChange:
PossibleNot:
Ticket:
State:
- closed successful
ConfigMatch:
Properties:
DynamicField:
DynamicField_test01:
- Checked
CreateBy: root@localhost
CreateTime: 2014-09-03 15:15:02
Description: Allow close ticket only if the ticket has NOT been checked by customer
ID: '11'
Name: 300-Close_on_Approval
StopAfterMatch: '1'
ValidID: '1'
Where am I wrong?
can you help me, please?
thank you,
Giulio
Edit: modified a typo in the second ACL (closed successful) but still not working

Edit and SOLVED: Once I stop otrs services, rebuild configuration and restart otrs, the ACL is doing its job!