[Rt-commit] r5283 - in rt/branches/3.5-TESTING: lib/RT
jesse at bestpractical.com
jesse at bestpractical.com
Tue May 23 17:29:21 EDT 2006
Author: jesse
Date: Tue May 23 17:29:21 2006
New Revision: 5283
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/lib/RT/Ticket_Overlay.pm
Log:
r13779 at hualien: jesse | 2006-05-14 21:04:13 -0400
By popular demand, adding a ticket link doesn't check ACLs on the second ticket
Modified: rt/branches/3.5-TESTING/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.5-TESTING/lib/RT/Ticket_Overlay.pm (original)
+++ rt/branches/3.5-TESTING/lib/RT/Ticket_Overlay.pm Tue May 23 17:29:21 2006
@@ -2595,18 +2595,20 @@
return( 0, $msg );
}
- if ( $other_ticket_uri->Resolver->Scheme eq 'fsck.com-rt') {
- my $object = $other_ticket_uri->Resolver->Object;
-
- if ( UNIVERSAL::isa( $object, 'RT::Ticket' )
- && $object->id
- && !$object->CurrentUserHasRight('ModifyTicket') )
- {
- return ( 0, $self->loc("Permission Denied") );
- }
-
- }
-
+ # By popular demand, adding a ticket link doesn't check ACLs on the second ticket
+ #
+ # if ( $other_ticket_uri->Resolver->Scheme eq 'fsck.com-rt') {
+ # my $object = $other_ticket_uri->Resolver->Object;
+ #
+ # if ( UNIVERSAL::isa( $object, 'RT::Ticket' )
+ # && $object->id
+ # && !$object->CurrentUserHasRight('ModifyTicket') )
+ # {
+ # return ( 0, $self->loc("Permission Denied") );
+ # }
+ #
+ # }
+ #
# }}}
my ($val, $Msg) = $self->SUPER::_AddLink(%args);
More information about the Rt-commit
mailing list