r9938 - apps/gobi/trunk/code/Redirect

[email protected] Sun, 20 Sep 2009 07:11:16 +0200 (CEST)
Newsgroups gmane.comp.java.helma.cvs
Message-ID <20090920051116.B2D123D0E3@mia>
Author: hannes
Date: 2009-09-20 07:11:16 +0200 (Sun, 20 Sep 2009)
New Revision: 9938

Modified:
   apps/gobi/trunk/code/Redirect/Redirect.js
Log:
Restrict default permissions for Redirect actions, remove list action

Details at http://dev.helma.org/trac/helma/changeset/9938

Modified: apps/gobi/trunk/code/Redirect/Redirect.js
===================================================================
--- apps/gobi/trunk/code/Redirect/Redirect.js	2009-09-19 21:26:35 UTC (rev 9937)
+++ apps/gobi/trunk/code/Redirect/Redirect.js	2009-09-20 05:11:16 UTC (rev 9938)
@@ -1,8 +1,7 @@
 this._actions = new LookupList([
     new Action("main", {category: READ, label: "Main View"}),
-    new Action("list", {category: READ, label: "List Child Pages"}),
     new Action("history", {category: WRITE, label: "Page History"}),
-    new Action("edit", {category: WRITE, label: "Edit Content"}),
+    new Action("edit", {category: MANAGE, label: "Edit Content"}),
 ]);
 
 function main_action() {