On Wed, 2006-05-17 at 17:16 -0400, Joe Auty wrote:
> Hello,
> 
> I've set my users with global superuser permissions, but for some  
> reason this wasn't enough to own a ticket. I set them with own  
> permissions, and now they can be assigned tickets.
> 
> Thinking this bug also applied to stealing a ticket, I set these  
> users with take + steal ticket abilities globally, yet they still  
> cannot steal. Any theories why this is?
> 
> I did search the archive, but came up short in finding an answer...

Here is a patch against 3.6.0pre1 to enable users who have the SuperUser
right to take ownership of a ticket.

Copy html/Elements/SelectOwner to local/html/Elements/SelectOwner and
then patch the local copy with the attached patch.

-- 
Joshua Colson <[EMAIL PROTECTED]>
--- html/Elements/SelectOwner	2005-04-24 21:17:46.000000000 +0000
+++ local/html/Elements/SelectOwner	2006-05-17 21:33:18.000000000 +0000
@@ -81,7 +81,7 @@
 
 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 => 1); 
         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;
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html

Reply via email to