[Rt-devel] Performance 3.4.1, quick advice sought

Jesse Vincent jesse at bestpractical.com
Tue Feb 22 15:58:16 EST 2005




> 
> We upgraded from 3.2.2 and saw this problem.  The below patch (credit to
> Kent Lee) worked around it for us (warning: whitespace damaged).


I do wonder if you folks have granted "Everyone" the right to OwnTicket.


> 
> Phil
> 
> 
> --- /opt/rt3/share/html/Elements/SelectOwner.bug        2005-02-17 15:41:59.977643272 -0500
> +++ /opt/rt3/share/html/Elements/SelectOwner    2005-02-17 15:44:49.845819384 -0500
> @@ -75,7 +75,8 @@
>  
>  foreach my $object (@objects) {
> 	my $Users = RT::Users->new($session{CurrentUser});
> -	$Users->WhoHaveRight(Right => 'OwnTicket', Object => $object, IncludeSystemRights => 1, IncludeSuperusers => 0); 
> +        #$Users->WhoHaveRight(Right => 'OwnTicket', Object => $object, IncludeSystemRights => 1, IncludeSuperusers => 0); 
> +       $Users->LimitToPrivileged;
>          while (my $User = $Users->Next()) {
>                  next if ($User->id == $RT::Nobody->id); # skip nobody here, so we can make them first later
>               $user_uniq_hash{$User->Id()} = $User;
> 

-- 


More information about the Rt-devel mailing list