OTRS 5 - View and compose permissions but not to close tickets

Hi, We would like to implement a scheme with agents having all the permissions on some queues (i.e. 'rw' permission on Main queues) but not on secondary queues on which they should be only allowed to read, reply and change owner, but not to close the tickets. We want also to allow the 'move_to' permission onto any queue. For example, consider the next scenario: a 3-queue scheme with 3 agents. Agent1: is allowed to do everything on the main queue Q1. He can colaborate on the Q2 (secondary), and have no access to Q3 Agent2: is allowed to do everything on Q1 and Q2, and is colaborator on Q3 Agent3: Main queues Q2 and Q3, and secondary queue Q1. To achieve this, I've done the following: * Add 'close' and 'compose' permissions (before 'rw) on Ticket->Core::Ticket System::Permission * Change Frontend::Agent::Ticket::ViewQueue Ticket::QueueViewAllPossibleTickets to 'Yes', to allow agents to see the tickets in the 'ro' Queues. Then I've created many roles: Main1role: with all the permissions on Q1 Sec1role: with the permissions: ro, move_into, note, owner and compose ... (same with the other queues). And finally set Agent-Role relations: * User1: Main1role, Sec2role * User2: Main1role, Main2role, Sec3role * User3: Sec1role, Main2role, Main3role Now, * Agents are allowed to do everything in their main queues (as expected) and to see the tickets in the secondary queues they need to go to the 'Queue View' (they do not see them in the dashboard). That's right. *Agents are able to read a ticket, and reply and, from the begining, they do not have the 'Close' option in the ticket menu on secondary queues. As expected. That's right also. * But, when they reply a ticket of a secondary queue, they are able to choose as 'Next ticket state' the closed state, and close the ticket. This is strange, because the agent has not the 'close' permission on this queue. Moreover, after replying a ticket, the user becomes owner and then he is able to see the 'Close' option in the ticket menu, and also to close the ticket, and he should not, as in the previous case. Can you help me to make this scheme work? Regards, Manuel Martínez --

Don't forget that you can prevent (PossibleNot) states via ACL.
On Tue, Feb 14, 2017 at 5:53 AM, Manuel Martínez Valls
Hi,
We would like to implement a scheme with agents having all the permissions on some queues (i.e. 'rw' permission on Main queues) but not on secondary queues on which they should be only allowed to read, reply and change owner, but not to close the tickets. We want also to allow the 'move_to' permission onto any queue.
For example, consider the next scenario: a 3-queue scheme with 3 agents.
Agent1: is allowed to do everything on the main queue Q1. He can colaborate on the Q2 (secondary), and have no access to Q3
Agent2: is allowed to do everything on Q1 and Q2, and is colaborator on Q3
Agent3: Main queues Q2 and Q3, and secondary queue Q1.
To achieve this, I've done the following:
* Add 'close' and 'compose' permissions (before 'rw) on Ticket->Core::Ticket System::Permission
* Change Frontend::Agent::Ticket::ViewQueue Ticket::QueueViewAllPossibleTickets to 'Yes', to allow agents to see the tickets in the 'ro' Queues.
Then I've created many roles:
Main1role: with all the permissions on Q1 Sec1role: with the permissions: ro, move_into, note, owner and compose ... (same with the other queues).
And finally set Agent-Role relations: * User1: Main1role, Sec2role * User2: Main1role, Main2role, Sec3role * User3: Sec1role, Main2role, Main3role
Now,
* Agents are allowed to do everything in their main queues (as expected) and to see the tickets in the secondary queues they need to go to the 'Queue View' (they do not see them in the dashboard). That's right. *Agents are able to read a ticket, and reply and, from the begining, they do not have the 'Close' option in the ticket menu on secondary queues. As expected. That's right also. * But, when they reply a ticket of a secondary queue, they are able to choose as 'Next ticket state' the closed state, and close the ticket. This is strange, because the agent has not the 'close' permission on this queue.
Moreover, after replying a ticket, the user becomes owner and then he is able to see the 'Close' option in the ticket menu, and also to close the ticket, and he should not, as in the previous case.
Can you help me to make this scheme work?
Regards,
Manuel Martínez
--
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs

Ok, but, could you please explain me how to do it? Thanks, Manuel Martínez El 15/02/17 a las 00:45, Gerald Young escribió:
Don't forget that you can prevent (PossibleNot) states via ACL.
On Tue, Feb 14, 2017 at 5:53 AM, Manuel Martínez Valls
mailto:mmartinez@roig.com> wrote: Hi,
We would like to implement a scheme with agents having all the permissions on some queues (i.e. 'rw' permission on Main queues) but not on secondary queues on which they should be only allowed to read, reply and change owner, but not to close the tickets. We want also to allow the 'move_to' permission onto any queue.
For example, consider the next scenario: a 3-queue scheme with 3 agents.
Agent1: is allowed to do everything on the main queue Q1. He can colaborate on the Q2 (secondary), and have no access to Q3
Agent2: is allowed to do everything on Q1 and Q2, and is colaborator on Q3
Agent3: Main queues Q2 and Q3, and secondary queue Q1.
To achieve this, I've done the following:
* Add 'close' and 'compose' permissions (before 'rw) on Ticket->Core::Ticket System::Permission
* Change Frontend::Agent::Ticket::ViewQueue Ticket::QueueViewAllPossibleTickets to 'Yes', to allow agents to see the tickets in the 'ro' Queues.
Then I've created many roles:
Main1role: with all the permissions on Q1 Sec1role: with the permissions: ro, move_into, note, owner and compose ... (same with the other queues).
And finally set Agent-Role relations: * User1: Main1role, Sec2role * User2: Main1role, Main2role, Sec3role * User3: Sec1role, Main2role, Main3role
Now,
* Agents are allowed to do everything in their main queues (as expected) and to see the tickets in the secondary queues they need to go to the 'Queue View' (they do not see them in the dashboard). That's right. *Agents are able to read a ticket, and reply and, from the begining, they do not have the 'Close' option in the ticket menu on secondary queues. As expected. That's right also. * But, when they reply a ticket of a secondary queue, they are able to choose as 'Next ticket state' the closed state, and close the ticket. This is strange, because the agent has not the 'close' permission on this queue.
Moreover, after replying a ticket, the user becomes owner and then he is able to see the 'Close' option in the ticket menu, and also to close the ticket, and he should not, as in the previous case.
Can you help me to make this scheme work?
Regards,
Manuel Martínez
--
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs http://lists.otrs.org/mailman/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs

There are several ways of doing what you look for.
In the case of the reply, remember that it is required to be owner of a
ticket or at least lock the ticket to be able to do a reply, so the agent
gets owner of the ticket when he/she locks it. You can prevent this by
removing the lock required option on the reply.
Another thing you can do is set the allowed state types in the actions, so
you can remove the closed states from the Reply option, that will prevent
anyone to close a case when doing a response. Is that what you want?
Another option is to use ACLs as Gerald Mentioned to allow or not things
into users depending on their roles, queue, ticket state, etc.
You can search the ACLs section into the manual, it has a very good guide
on how to achieve several things.
Regards
2017-02-16 6:19 GMT-06:00 Manuel Martínez Valls
Ok, but, could you please explain me how to do it?
Thanks,
Manuel Martínez
El 15/02/17 a las 00:45, Gerald Young escribió:
Don't forget that you can prevent (PossibleNot) states via ACL.
On Tue, Feb 14, 2017 at 5:53 AM, Manuel Martínez Valls
wrote:
Hi,
We would like to implement a scheme with agents having all the permissions on some queues (i.e. 'rw' permission on Main queues) but not on secondary queues on which they should be only allowed to read, reply and change owner, but not to close the tickets. We want also to allow the 'move_to' permission onto any queue.
For example, consider the next scenario: a 3-queue scheme with 3 agents.
Agent1: is allowed to do everything on the main queue Q1. He can colaborate on the Q2 (secondary), and have no access to Q3
Agent2: is allowed to do everything on Q1 and Q2, and is colaborator on Q3
Agent3: Main queues Q2 and Q3, and secondary queue Q1.
To achieve this, I've done the following:
* Add 'close' and 'compose' permissions (before 'rw) on Ticket->Core::Ticket System::Permission
* Change Frontend::Agent::Ticket::ViewQueue Ticket::QueueViewAllPossibleTickets to 'Yes', to allow agents to see the tickets in the 'ro' Queues.
Then I've created many roles:
Main1role: with all the permissions on Q1 Sec1role: with the permissions: ro, move_into, note, owner and compose ... (same with the other queues).
And finally set Agent-Role relations: * User1: Main1role, Sec2role * User2: Main1role, Main2role, Sec3role * User3: Sec1role, Main2role, Main3role
Now,
* Agents are allowed to do everything in their main queues (as expected) and to see the tickets in the secondary queues they need to go to the 'Queue View' (they do not see them in the dashboard). That's right. *Agents are able to read a ticket, and reply and, from the begining, they do not have the 'Close' option in the ticket menu on secondary queues. As expected. That's right also. * But, when they reply a ticket of a secondary queue, they are able to choose as 'Next ticket state' the closed state, and close the ticket. This is strange, because the agent has not the 'close' permission on this queue.
Moreover, after replying a ticket, the user becomes owner and then he is able to see the 'Close' option in the ticket menu, and also to close the ticket, and he should not, as in the previous case.
Can you help me to make this scheme work?
Regards,
Manuel Martínez
--
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
-- *Alvaro Cordero RetanaConsultor de Tecnologias* *Tel: 22585757 ext 123* *Email:* alvaro@gridshield.net
participants (3)
-
Alvaro Cordero
-
Gerald Young
-
Manuel Martínez Valls