]> err.no Git - scalable-opengroupware.org/blobdiff - UI/MainUI/product.plist
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1243 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / MainUI / product.plist
index 2ce04921d92900785dca79529103e217f7cb8ca8..664e4cf52e899820ef66f741909f67c93d33d0a1 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" );
       };
     };
-    SOGoFolder = {
-      superclass = "SOGoObject";
+    SOGoObject = {
       protectedBy = "<public>";
       defaultAccess = "allow";
       defaultRoles = {
-        "Add Documents, Images, and Files" = ( "Owner", "ObjectCreator" );
-        "View" = ( "Owner", "AuthorizedSubscriber" );
-        "Access Contents Information" = ( "Owner", "ObjectViewer", "AuthorizedSubscriber" );
+       "View" = ( "Owner", "ObjectViewer" );
        "Change Images And Files"  = ( "Owner", "ObjectEditor" );
-        "WebDAV Access" = ( "Owner", "AuthorizedSubscriber" );
+       "Access Contents Information" = ( "Owner", "ObjectReader" );
+        "Add Documents, Images, and Files" = ( "Owner", "ObjectCreator" );
+       "Add Folders" = ( "Owner", "FolderCreator" );
         "ReadAcls" = ( "Owner", "AuthorizedSubscriber" );
         "SaveAcls" = ( "Owner" );
         "Delete Objects" = ( "Owner", "ObjectEraser" );
       };
     };
+    SOGoContentObject = {
+      superclass = "SOGoObject";
+      protectedBy = "Access Object";
+      defaultRoles = {
+       "Access Object" = ( "Owner", "ObjectViewer" );
+       "Access Contents Information" = ( "Owner", "ObjectViewer" );
+       "Change Images And Files"  = ( "Owner", "ObjectEditor" );
+      };
+    };
+    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" );
+      };
+    };
+    SOGoParentFolder = {
+      superclass = "SOGoFolder";
+      protectedBy = "Access Contents Information";
+      defaultRoles = {
+       "Access Contents Information" = ( "Authenticated" );
+        "WebDAV Access" = ( "Authenticated" );
+      };
+    };
+    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 = "View";
-          pageName    = "SOGoUserHomePage";
+        view = { 
+          protectedBy = "<public>";
+          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"; 
         };
       };
     };