[Rt-commit] r19264 - in rt/3.8/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Thu Apr 16 21:48:41 EDT 2009


Author: sartak
Date: Thu Apr 16 21:48:41 2009
New Revision: 19264

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/lib/RT/Dashboard.pm

Log:
 r82279 at onn:  sartak | 2009-04-16 21:48:32 -0400
 Check dashboards in the "is possibly invisible to other users" method


Modified: rt/3.8/trunk/lib/RT/Dashboard.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Dashboard.pm	(original)
+++ rt/3.8/trunk/lib/RT/Dashboard.pm	Thu Apr 16 21:48:41 2009
@@ -226,7 +226,7 @@
     my $self = shift;
     my $privacy = shift || $self->Privacy;
 
-    return grep { !$_->IsVisibleTo($privacy) } $self->Searches;
+    return grep { !$_->IsVisibleTo($privacy) } $self->Searches, $self->Dashboards;
 }
 
 # _PrivacyObjects: returns a list of objects that can be used to load


More information about the Rt-commit mailing list