[Rt-commit] r2300 - in rt/branches/3.4-RELEASE: . lib/RT

jesse at bestpractical.com jesse at bestpractical.com
Sun Mar 6 17:32:49 EST 2005


Author: jesse
Date: Sun Mar  6 17:32:39 2005
New Revision: 2300

Modified:
   rt/branches/3.4-RELEASE/   (props changed)
   rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
Log:
 r6457 at hualien:  jesse | 2005-03-06 14:55:20 -0500
  r2575 at hualien:  jesse | 2005-01-06 17:15:39 -0500
  RT-Ticket: 6327
  RT-Status: resolved
  RT-Update: correspond
  
  Users who had "DeleteTicket" but not "ModifyTicket" could not delete tickets.
  
  This is introduced because "Ticket::SetStatus" checks the ACL but 
  forgets to tell "Ticket::_Set" NOT to check (which does check again, but 
  only against the 'ModifyTicket' right, and thus denies the change).
  
      Thanks to Ruediger Riediger
  
  
 


Modified: rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm	(original)
+++ rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm	Sun Mar  6 17:32:39 2005
@@ -3176,6 +3176,7 @@
    my ($val, $msg)= $self->_Set( Field           => 'Status',
                           Value           => $args{Status},
                           TimeTaken       => 0,
+                          CheckACL      => 0,
                           TransactionType => 'Status'  );
 
     return($val,$msg);


More information about the Rt-commit mailing list