[Jifty-commit] r4923 - in jifty/trunk: .

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Jan 24 08:39:38 EST 2008


Author: sartak
Date: Thu Jan 24 08:39:38 2008
New Revision: 4923

Added:
   jifty/trunk/t/Mapper/lib/Mapper/Dispatcher.pm
Modified:
   jifty/trunk/   (props changed)

Log:
 r50746 at onn:  sartak | 2008-01-24 08:39:25 -0500
 Add t/Mapper/lib/Mapper/Dispatcher.pm which whitelists the GetGrail and CrossBridge actions


Added: jifty/trunk/t/Mapper/lib/Mapper/Dispatcher.pm
==============================================================================
--- (empty file)
+++ jifty/trunk/t/Mapper/lib/Mapper/Dispatcher.pm	Thu Jan 24 08:39:38 2008
@@ -0,0 +1,12 @@
+#!/usr/bin/env perl
+package Mapper::Dispatcher;
+use Jifty::Dispatcher -base;
+
+before '*' => run {
+    Jifty->api->allow('GetGrail');
+    Jifty->api->allow('CrossBridge');
+};
+
+
+1;
+


More information about the Jifty-commit mailing list