]> err.no Git - scalable-opengroupware.org/blobdiff - UI/MainUI/product.plist
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1267 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / MainUI / product.plist
index ec730eb813bb607d9cd3da56127db3a2b3c96252..3eb0a70d5465ca029b05e15bcddb610f178f9e1c 100644 (file)
@@ -1,5 +1,5 @@
 {
-  requires = ( MAIN );
+  requires = ( MAIN, CommonUI );
 
   publicResources = (
   );
   classes = {
     SOGoRootPage = {
       superclass  = "SoComponent";
-      protectedBy = "View";
+      protectedBy = "<public>";
       defaultRoles = {
-        "View" = ( "Authenticated", "FreeBusy" );
+        "View" = ( "Authenticated" );
       };
     };
-    SOGoUserFolder = {
-      superclass  = "SOGoFolder";
-      protectedBy = "HomePage Access";
+    SOGoObject = {
+      protectedBy = "<public>";
+      defaultAccess = "allow";
       defaultRoles = {
-        "Homepage Access" = ( "Owner", "Assistant", "Delegate", "FreeBusy" );
-        "WebDAV Access" = ( "Owner", "Assistant", "Delegate", "FreeBusy" );
-        "Access Contents Information" = ( "Owner", "Assistant", "Delegate",
-                                          "FreeBusy" );
+       "View" = ( "Owner", "ObjectViewer" );
+       "Change Images And Files"  = ( "Owner", "ObjectEditor" );
+       "Access Contents Information" = ( "Owner", "ObjectReader" );
+        "Add Documents, Images, and Files" = ( "Owner", "ObjectCreator" );
+       "Add Folders" = ( "Owner", "FolderCreator" );
+        "ReadAcls" = ( "Owner" );
+        "SaveAcls" = ( "Owner" );
+        "Delete Objects" = ( "Owner", "ObjectEraser" );
       };
     };
-    SOGoFolder = {
-      superclass    = "SOGoObject";
-      protectedBy = "Access Contents Information";
+    SOGoContentObject = {
+      superclass = "SOGoObject";
+      protectedBy = "Access Object";
       defaultRoles = {
-        "Add Documents, Images, and Files" = ( "Owner", "Delegate" );
-        "View"          = ( "Owner", "Delegate", "Assistant" );
-        "WebDAV Access" = ( "Owner", "Delegate", "Assistant" );
-        "Access Contents Information" = ( "Owner", "Assistant", "Delegate" );
-        "ReadAcls" = ( "Owner", "Delegate", "Assistant" );
-        "SaveAcls" = ( "Owner" );
+       "Access Object" = ( "Owner", "ObjectViewer" );
+       "Access Contents Information" = ( "Owner", "ObjectViewer" );
+       "Change Images And Files"  = ( "Owner", "ObjectEditor" );
       };
     };
-    SOGoGroupsFolder = {
-      superclass    = "SOGoObject";
-      protectedBy = "View";
+    SOGoFolder = {
+      superclass = "SOGoObject";
+      protectedBy = "Access Object";
+      defaultRoles = {
+       "Change Images And Files"  = ( "Owner", "ObjectEditor" );
+        "WebDAV Access" = ( "Owner", "AuthorizedSubscriber" );
+       "Access Object" = ( "Owner", "ObjectViewer" );
+       "Access Contents Information" = ( "Owner", "ObjectViewer" );
+      };
     };
-    SOGoGroupFolder = {
-      superclass    = "SOGoObject";
-      protectedBy = "View";
+    SOGoParentFolder = {
+      superclass = "SOGoFolder";
+      protectedBy = "Access Contents Information";
+      defaultRoles = {
+       "Access Contents Information" = ( "Authenticated" );
+        "WebDAV Access" = ( "Authenticated" );
+      };
     };
-    SOGoCustomGroupFolder = {
-      superclass = "SOGoGroupFolder";
-      protectedBy = "View";
+    SOGoUserFolder = {
+      superclass = "SOGoFolder";
+      protectedBy = "Access Contents Information";
+      defaultRoles = {
+       "Access Contents Information" = ( "Authenticated" );
+        "WebDAV Access" = ( "Authenticated" );
+      };
     };
   };
 
   categories = {
     SOGo = { // TODO: move decls to class
       methods = {
-        index = { 
-          protectedBy = "View";
-          pageName    = "SOGoRootPage"; 
+        view = { 
+          protectedBy = "<public>";
+          pageName = "SOGoRootPage"; 
+        };
+       connect = {
+          protectedBy = "<public>";
+          pageName = "SOGoRootPage";
+         actionName = "connect";
         };
         GET = { // more or less a hack, see README of dbd
-          protectedBy = "View";
-          pageName    = "SOGoRootPage"; 
+          protectedBy = "<public>";
+          pageName = "SOGoRootPage"; 
         };
       };
     };
     SOGoUserFolder = {
       methods = {
         view = { 
-          protectedBy = "HomePage Access";
-          pageName    = "SOGoUserHomePage"; 
-        };
-        edit = { 
-          protectedBy = "HomePage Access";
-          pageName    = "SOGoUserHomePage"; 
-          actionName  = "saveInternetAccessState";
+          protectedBy = "<public>";
+          pageName = "SOGoUserHomePage"; 
         };
-        /*
-          GET = { // more or less a hack, see README of dbd
-            protectedBy = "HomePage Access";
-            pageName    = "SOGoUserHomePage"; 
-          };
-        */
+       logoff = {
+          protectedBy = "<public>";
+          pageName = "SOGoUserHomePage";
+         actionName = "logoff";
+       };
       };
     };
     SOGoGroupsFolder = {
       methods = {
         index = { 
           protectedBy = "View";
-          pageName    = "SOGoGroupsPage"; 
+          pageName = "SOGoGroupsPage"; 
         };
       };
     };
       methods = {
         index = { 
           protectedBy = "View";
-          pageName    = "SOGoGroupPage"; 
+          pageName = "SOGoGroupPage"; 
         };
       };
     };
     SOGoFreeBusyObject = {
       methods = {
         ajaxRead = { 
-          protectedBy = "View";
+          protectedBy = "<public>";
           pageName = "SOGoUserHomePage"; 
           actionName = "readFreeBusy";
         };