[rt-users] RT 3.6.3: Cannot chnage owner to another user.
Nick Metrowsky
nmetrowsky at digitalglobe.com
Fri Feb 2 09:53:11 EST 2007
Hi Michael,
Thank you for your useful patch. I hope this change makes it into future
releases of RT, as it would be logical for Super User to have the
ability to change ticket owners, especially if someone has left an
organization and the tickets have to be moved to someone else.
Nick
------------------------------------------------------------------------
---------
Nick Metrowsky
Consulting System Administrator
303-684-4785 Office
303-684-4100 Fax
nmetrowsky at digitalglobe.com <mailto:nmetrowsky at digitalglobe.com>
DigitalGlobe (r), An Imaging and Information Company
http://www.digitalglobe.com <http://www.digitalglobe.com>
------------------------------------------------------------------------
---------
________________________________
From: Peer Michael [mailto:Michael.Peer at eurac.edu]
Sent: Friday, February 02, 2007 12:54 AM
To: Nick Metrowsky; RT Users
Subject: RE: [rt-users] RT 3.6.3: Cannot chnage owner to another user.
With this diff, superusers can reassign tickets. It works for us.
--- /opt/rt3/lib/RT/Ticket_Overlay.pm 2005-11-14 21:43:24.000000000
+0100
+++ /opt/rt3/local/lib/RT/Ticket_Overlay.pm 2007-01-30
17:39:31.000000000 +0100
@@ -2959,6 +2959,7 @@
and #If we're not stealing
( $self->OwnerObj->Id != $RT::Nobody->Id ) and #and the
owner is set
( $self->CurrentUser->Id ne $self->OwnerObj->Id() )
+ and (!$self->CurrentUserHasRight('SuperUser')) #and is not
superuser
) { #and it's not
us
return ( 0,
$self->loc(
Michael Peer
________________________________
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nick
Metrowsky
Sent: Thursday, 01 February, 2007 23:25
To: RT Users
Subject: [rt-users] RT 3.6.3: Cannot chnage owner to another user.
Hi Everyone,
I have Super User and I cannot change the ownership of a ticket from one
person to another. I get an error "You can only take tickets that are
unowned" or "You can only reassign tickets that you own or that are
unowned". This is definitely a different behavior than that of RT 3.4.4.
Any ideas on this one?
Nick
------------------------------------------------------------------------
---------
Nick Metrowsky
Consulting System Administrator
303-684-4785 Office
303-684-4100 Fax
nmetrowsky at digitalglobe.com <mailto:nmetrowsky at digitalglobe.com>
DigitalGlobe (r), An Imaging and Information Company
http://www.digitalglobe.com <http://www.digitalglobe.com>
------------------------------------------------------------------------
---------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070202/556c2d29/attachment.htm>
More information about the rt-users
mailing list