[Rt-commit] r13040 - rt/branches/3.6-RELEASE/lib/RT
ruz at bestpractical.com
ruz at bestpractical.com
Mon Jun 9 07:29:57 EDT 2008
Author: ruz
Date: Mon Jun 9 07:29:56 2008
New Revision: 13040
Modified:
rt/branches/3.6-RELEASE/lib/RT/Tickets_Overlay.pm
Log:
* additional check is not required with current ACL checks
Modified: rt/branches/3.6-RELEASE/lib/RT/Tickets_Overlay.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/Tickets_Overlay.pm (original)
+++ rt/branches/3.6-RELEASE/lib/RT/Tickets_Overlay.pm Mon Jun 9 07:29:56 2008
@@ -2758,8 +2758,7 @@
# of being revoked, it's ok if queue rights allow
# ShowTicket. It seems need another query, but we have
# rights cache in Principal::HasRight.
- elsif ($Ticket->QueueObj->CurrentUserHasRight('ShowTicket')
- || $Ticket->CurrentUserHasRight('ShowTicket') )
+ elsif ( $Ticket->CurrentUserHasRight('ShowTicket') )
{
return ($Ticket);
}
More information about the Rt-commit
mailing list