r9920 - apps/gobi/trunk/code/AdminPage

[email protected] Thu, 17 Sep 2009 16:29:30 +0200 (CEST)
Newsgroups gmane.comp.java.helma.cvs
Message-ID <20090917142930.AEEE63D0E3@mia>
Author: hannes
Date: 2009-09-17 16:29:30 +0200 (Thu, 17 Sep 2009)
New Revision: 9920

Modified:
   apps/gobi/trunk/code/AdminPage/AdminPage.js
Log:
Soften permissions on admin pages

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

Modified: apps/gobi/trunk/code/AdminPage/AdminPage.js
===================================================================
--- apps/gobi/trunk/code/AdminPage/AdminPage.js	2009-09-17 14:14:34 UTC (rev 9919)
+++ apps/gobi/trunk/code/AdminPage/AdminPage.js	2009-09-17 14:29:30 UTC (rev 9920)
@@ -7,8 +7,8 @@
 
 // this prototype's actions
 this._actions = new LookupList([
-    new Action("main", {category: MANAGE, label: "Main View"}),
-    new Action("create", {category: MANAGE, label: "Create New Child Page"}),
+    new Action("main", {category: READ, label: "Main View"}),
+    new Action("create", {category: WRITE, label: "Create New Child Page"}),
     new Action("move", {category: MANAGE}),
     new Action("delete", {category: MANAGE})
 ]);