Hello, I'm new to the OtterHub forums (but a long time user of OTRS). Currently, I have the need to configure OTRS to prevent agents from modifying closed tickets, i.e., once a ticket is set to 'closed' state, the agents should not be able to add notes, change queue, reopen the ticket, etc. The ticket should remain read-only.
Going a step further, I'd like to know if it's possible to set the above as "default", and then allow only certain agents to modify closed tickets.
Thank you very much for your help!
Prevent agents from modifying closed tickets
Moderator: crythias
Prevent agents from modifying closed tickets
OTRS 3.1.5, ITSM 3.1.3 on Debian
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Prevent agents from modifying closed tickets
By default this is a per-queue configuration, *however*, it seems perfectly set for an ACL.
http://doc.otrs.org/3.0/en/html/acl.html
http://doc.otrs.org/3.0/en/html/acl.html
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Prevent agents from modifying closed tickets
Thanks crythias! I was thinking exactly that! I suppose something like:
could work, but I don't know the complete list of actions that can be allowed/disallowed and how to allow/disallow actions per group or agent. I've been looking for this info on several places (including OTRS documentation) but no success so far.
Thanks again and I hope you can shed some light on this!
Code: Select all
Properties => {
Ticket => {
State => ['Closed'],
},
Possible => {
Action => {
AgentTicketNote => 0,
AgentTicketMove => 0,
.
.
.
Thanks again and I hope you can shed some light on this!
OTRS 3.1.5, ITSM 3.1.3 on Debian
Re: Prevent agents from modifying closed tickets
faq.otrs.org will help you
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Prevent agents from modifying closed tickets
Thanks for your answers!
After searching carefully, I found this ACL reference, which contains the (almost) full list of actions and other parameters that can be used in ACLs: http://doc.otrs.org/3.1/en/html/ch18s03.html (The link http://faq.otrs.org/otrs/public.pl?Acti ... ;ItemID=68 was useful also)
I implemented the ACL as follows:
Maybe this isn't the most efficient way to solve the problem, but it worked for us.
After searching carefully, I found this ACL reference, which contains the (almost) full list of actions and other parameters that can be used in ACLs: http://doc.otrs.org/3.1/en/html/ch18s03.html (The link http://faq.otrs.org/otrs/public.pl?Acti ... ;ItemID=68 was useful also)
I implemented the ACL as follows:
Code: Select all
#ACL to disallow modification of closed tickets to all agents
$Self->{TicketAcl}->{'DisallowActions'} = {
Properties => {
State => {
TypeName => ['closed']
}
},
Possible => {
Action => {
AgentTicketNote => 0,
AgentTicketCustomer => 0,
AgentTicketMove => 0,
#other actions to disallow... (The ones that aren't in the ACL reference
#can be found by positioning the mouse over the different links in the AgentTicketZoom interface)
}
}
};
#When setting the name of the following ACL, I couldn't use 'AllowActions', as the ACL just didn't work
#(I guess the name can't contain a string in a previous ACL name, but not sure about it)
$Self->{TicketAcl}->{'Permit'} = {
Properties => {
User => {
UserLogin => ['agent_to_be_allowed_to_modify_closed_tickets']
}
},
Possible => {
Action => {
AgentTicketNote => 1,
AgentTicketCustomer => 1,
AgentTicketMove => 1,
#other actions to allow...
}
}
};
OTRS 3.1.5, ITSM 3.1.3 on Debian
Re: Prevent agents from modifying closed tickets
oops sorry wrong topic