Is it me or moving ticket is broken in OTRS 5.0.8 ? If you have only the move_into permission in a queue, the move action is denied even if it should be ok.
Looking in the code, in AgentTicketMove.pm, this part is added in 5.0.8:
# check if destination queue is restricted by ACL
my %QueueList = $TicketObject->TicketMoveList(
TicketID => $Self->{TicketID},
UserID => $Self->{UserID},
);
if ( $GetParam{DestQueueID} && !exists $QueueList{ $GetParam{DestQueueID} } ) {
return $LayoutObject->NoPermission( WithHeader => 'yes' );
}
Adding the type argument to the function call seem to correct the problem:
my %QueueList = $TicketObject->TicketMoveList(
TicketID => $Self->{TicketID},
UserID => $Self->{UserID},
Type => 'move_into'
);
if ( $GetParam{DestQueueID} && !exists $QueueList{ $GetParam{DestQueueID} } ) {
return $LayoutObject->NoPermission( WithHeader => 'yes' );
}
This seem to be a bug in 5.0.8...
Move Ticket Broken in 5.0.8 ?
Moderator: crythias
Re: Move Ticket Broken in 5.0.8 ?
Great finding! Thanks for sharing!
Re: Move Ticket Broken in 5.0.8 ?
Hi,
for this there is a move permission. So please do not publish this as a bug.
Florian
for this there is a move permission. So please do not publish this as a bug.
Florian
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
-
- Znuny newbie
- Posts: 5
- Joined: 23 Oct 2015, 20:03
- Znuny Version: OTRS5
- Real Name: Christian Fisette
- Company: UQAM
Re: Move Ticket Broken in 5.0.8 ?
Well, the problem was precisely with the move permission. An agent with only this permission in a queue (and not full rw access) could not move a ticket in that queue: it worked prior to 5.0.8 but OTRS v5.0.8 return this message: "We are sorry, you do not have permissions anymore to access this ticket in its current state."
Notice the past tense; it's corrected now for OTRS 5.0.9. Many thanks to the OTRS Team!!
Notice the past tense; it's corrected now for OTRS 5.0.9. Many thanks to the OTRS Team!!

-
- Administrator
- Posts: 4253
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Move Ticket Broken in 5.0.8 ?
You should say for the upcoming, there is no information about a release date.fisettec wrote:it's corrected now for OTRS 5.0.9.
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?