[rt-users] fix for ace_ownermodify.patch

Harald Wagener hwagener at hamburg.fcb.com
Fri Feb 15 04:55:59 EST 2002


Hello,
I fixed the patch for an extra right regarding ownership in 2.0.11

apply the attached patch after the original one (I do not know who
wrote  it originally, since it's on my disk since late september).

My patch modifies Ticket.pm so AdminOwner is tested instead of
ModifyTicket.

Regards,
	Harald
-- 
Harald Wagener      |                           Systemadministrator 
FCB/Wilkens GmbH    |                         Tel.:+49-40-2881-1252 
An der Alster 42    |                         Fax.:+49-40-2881-1263 
20099 Hamburg       |                    http://www.fcb-wilkens.com
-------------- next part --------------
--- lib/RT/Ticket.pm.orig       Fri Feb 15 10:48:10 2002
+++ lib/RT/Ticket.pm    Fri Feb 15 10:47:30 2002
@@ -2400,5 +2400,5 @@
     my $Type = shift || "Give";
 
-    unless ($self->CurrentUserHasRight('ModifyTicket')) {
+    unless ($self->CurrentUserHasRight('AdminOwner')) {
        return (0, "Permission Denied");
     }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hwagener.vcf
Type: text/x-vcard
Size: 119 bytes
Desc: Card for Harald Wagener
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20020215/ef32c126/attachment.vcf>


More information about the rt-users mailing list