[Jifty-commit] r6211 - in jifty/trunk: lib/Jifty

Jifty commits jifty-commit at lists.jifty.org
Thu Jan 8 18:18:16 EST 2009


Author: alexmv
Date: Thu Jan  8 18:18:16 2009
New Revision: 6211

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/API.pm

Log:
 r40366 at kohr-ah:  chmrr | 2009-01-08 18:04:58 -0500
  * Deny and hide autogenerated app action abstract base classes


Modified: jifty/trunk/lib/Jifty/API.pm
==============================================================================
--- jifty/trunk/lib/Jifty/API.pm	(original)
+++ jifty/trunk/lib/Jifty/API.pm	Thu Jan  8 18:18:16 2009
@@ -130,8 +130,13 @@
     # These are the default action limits
     $self->action_limits(
         [
-            { hide => 1, deny => 1, restriction => qr/.*/ },
+            { deny => 1,  hide => 1, restriction => qr/.*/ },
             { allow => 1, show => 1, restriction => qr/^\Q$app_actions\E/ },
+            { deny => 1,  hide => 1, restriction => $app_actions."::Record::Create" },
+            { deny => 1,  hide => 1, restriction => $app_actions."::Record::Delete" },
+            { deny => 1,  hide => 1, restriction => $app_actions."::Record::Execute" },
+            { deny => 1,  hide => 1, restriction => $app_actions."::Record::Search" },
+            { deny => 1,  hide => 1, restriction => $app_actions."::Record::Update" },
             { allow => 1, show => 1, restriction => 'Jifty::Action::Autocomplete' },
             { allow => 1, show => 1, restriction => 'Jifty::Action::Redirect' },
         ]


More information about the Jifty-commit mailing list