[Rt-commit] r5249 - rt/branches/3.4-RELEASE/lib/RT

ruz at bestpractical.com ruz at bestpractical.com
Thu May 18 12:17:48 EDT 2006


Author: ruz
Date: Thu May 18 12:17:47 2006
New Revision: 5249

Modified:
   rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm

Log:
* add bug comment

Modified: rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm	(original)
+++ rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm	Thu May 18 12:17:47 2006
@@ -1315,6 +1315,10 @@
         @_
     );
 
+    # XXX, FIXME, BUG: if only email is provided then we only check
+    # for ModifyTicket right, but must try to get PrincipalId and
+    # check Watch* rights too if user exist
+
     # {{{ Check ACLS
     #If the watcher we're trying to add is for the current user
     if ( $self->CurrentUser->PrincipalId  eq $args{'PrincipalId'}) {


More information about the Rt-commit mailing list