[Rt-commit] r15946 - in rt/branches/3.999-DANGEROUS: lib/RT

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Sep 12 10:04:46 EDT 2008


Author: sunnavy
Date: Fri Sep 12 10:04:43 2008
New Revision: 15946

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/lib/RT/Dispatcher.pm

Log:
 r16673 at sunnavys-mb:  sunnavy | 2008-09-12 22:01:16 +0800
 get header and footer out of authentication


Modified: rt/branches/3.999-DANGEROUS/lib/RT/Dispatcher.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Dispatcher.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Dispatcher.pm	Fri Sep 12 10:04:43 2008
@@ -110,7 +110,10 @@
 before qr'^/(?!login)' => run {
     tangent '/login'
         unless ( Jifty->web->current_user->id
-        || Jifty->web->request->path =~ /NoAuth/i
+        || Jifty->web->request->path =~ m{^/NoAuth}
+        || Jifty->web->request->path =~ m{^/Elements/Header$}
+        || Jifty->web->request->path =~ m{^/Elements/Footer$}
+        || Jifty->web->request->path =~ m{^/Elements/Logo$}
         || Jifty->web->request->path =~ m{^/__jifty/(css|js)} );
 };
 


More information about the Rt-commit mailing list