2006-06-15 21:34:10 +02:00
|
|
|
{
|
2009-08-18 18:29:05 +02:00
|
|
|
requires = ( MAIN, Appointments, CommonUI );
|
2006-06-15 21:34:10 +02:00
|
|
|
|
|
|
|
publicResources = (
|
|
|
|
);
|
|
|
|
|
2006-12-14 22:20:13 +01:00
|
|
|
factories = {
|
|
|
|
};
|
|
|
|
|
|
|
|
classes = {
|
|
|
|
SOGoRootPage = {
|
|
|
|
superclass = "SoComponent";
|
2007-09-07 00:15:37 +02:00
|
|
|
protectedBy = "<public>";
|
2006-12-14 22:20:13 +01:00
|
|
|
defaultRoles = {
|
2007-06-26 23:48:52 +02:00
|
|
|
"View" = ( "Authenticated" );
|
2006-12-14 22:20:13 +01:00
|
|
|
};
|
|
|
|
};
|
2007-06-01 22:35:20 +02:00
|
|
|
SOGoObject = {
|
2007-04-11 21:08:58 +02:00
|
|
|
protectedBy = "<public>";
|
|
|
|
defaultAccess = "allow";
|
2007-04-12 02:30:55 +02:00
|
|
|
defaultRoles = {
|
2007-06-01 22:35:20 +02:00
|
|
|
"View" = ( "Owner", "ObjectViewer" );
|
2008-04-22 17:56:51 +02:00
|
|
|
"Change Images And Files" = ( "Owner", "ObjectEditor", "PROPPATCHer" );
|
2009-08-06 23:40:48 +02:00
|
|
|
"Access Object" = ( "Owner", "ObjectViewer", "ObjectEditor", "ObjectCreator", "ObjectEraser" );
|
2007-11-27 22:06:11 +01:00
|
|
|
"Access Contents Information" = ( "Owner", "ObjectViewer" );
|
2007-06-01 22:35:20 +02:00
|
|
|
"Add Documents, Images, and Files" = ( "Owner", "ObjectCreator" );
|
|
|
|
"Add Folders" = ( "Owner", "FolderCreator" );
|
2007-11-19 23:19:17 +01:00
|
|
|
"ReadAcls" = ( "Owner" );
|
2008-05-03 00:51:49 +02:00
|
|
|
"Change Permissions" = ( "Owner" );
|
2009-06-01 19:19:44 +02:00
|
|
|
"Delete Object" = ( "Owner", "ObjectEraser" );
|
2007-11-27 22:06:11 +01:00
|
|
|
"WebDAV Access" = ( "Owner", "ObjectViewer", "ObjectEditor", "ObjectCreator", "ObjectEraser" );
|
2006-12-14 22:20:13 +01:00
|
|
|
};
|
2007-11-27 22:06:11 +01:00
|
|
|
methods = {
|
|
|
|
DELETE = {
|
2009-06-01 19:19:44 +02:00
|
|
|
protectedBy = "Delete Object";
|
2007-11-27 22:06:11 +01:00
|
|
|
};
|
|
|
|
GET = {
|
|
|
|
protectedBy = "Access Contents Information";
|
|
|
|
};
|
|
|
|
PUT = {
|
|
|
|
protectedBy = "Change Images And Files";
|
|
|
|
};
|
2007-06-01 22:35:20 +02:00
|
|
|
};
|
|
|
|
};
|
2009-06-01 19:19:44 +02:00
|
|
|
SOGoContentObject = {
|
|
|
|
superclass = "SOGoObject";
|
|
|
|
defaultAccess = "allow";
|
|
|
|
/* defaultAccess = "Access Contents Information"; */
|
|
|
|
protectedBy = "Access Object";
|
|
|
|
defaultRoles = {
|
|
|
|
"Access Contents Information" = ( "Owner", "ObjectViewer", "ObjectEditor" );
|
|
|
|
"Change Images And Files" = ( "Owner", "ObjectEditor" );
|
2009-06-16 03:49:16 +02:00
|
|
|
"Delete Objects" = ( "Owner", "ObjectEraser" );
|
2009-06-01 19:19:44 +02:00
|
|
|
};
|
|
|
|
};
|
2007-06-01 22:35:20 +02:00
|
|
|
SOGoFolder = {
|
|
|
|
superclass = "SOGoObject";
|
|
|
|
protectedBy = "Access Object";
|
|
|
|
defaultRoles = {
|
2008-04-22 18:11:46 +02:00
|
|
|
"Change Images And Files" = ( "Owner", "ObjectEditor", "PROPPATCHer" );
|
2007-11-27 22:06:11 +01:00
|
|
|
"View" = ( "Owner", "ObjectViewer", "ObjectEditor" );
|
2009-09-14 23:29:09 +02:00
|
|
|
"Access Object" = ( "Owner", "AuthorizedSubscriber" );
|
2007-11-27 22:06:11 +01:00
|
|
|
"Access Contents Information" = ( "Owner", "ObjectViewer", "ObjectEditor" );
|
2009-09-14 23:29:09 +02:00
|
|
|
"WebDAV Access" = ( "Owner", "AuthorizedSubscriber" );
|
2009-06-01 19:19:44 +02:00
|
|
|
"Delete Object" = ( "Owner" );
|
|
|
|
"Delete Objects" = ( "Owner", "ObjectEraser" );
|
2007-06-01 22:35:20 +02:00
|
|
|
};
|
|
|
|
};
|
2007-09-15 00:01:02 +02:00
|
|
|
SOGoParentFolder = {
|
2007-11-07 16:59:01 +01:00
|
|
|
superclass = "SOGoFolder";
|
2007-09-15 00:01:02 +02:00
|
|
|
protectedBy = "Access Contents Information";
|
|
|
|
defaultRoles = {
|
|
|
|
"Access Contents Information" = ( "Authenticated" );
|
|
|
|
"WebDAV Access" = ( "Authenticated" );
|
2008-05-03 00:51:49 +02:00
|
|
|
"Add Folders" = ( "Owner" );
|
2007-09-15 00:01:02 +02:00
|
|
|
};
|
|
|
|
};
|
2007-06-01 22:35:20 +02:00
|
|
|
SOGoUserFolder = {
|
|
|
|
superclass = "SOGoFolder";
|
|
|
|
protectedBy = "Access Contents Information";
|
|
|
|
defaultRoles = {
|
|
|
|
"Access Contents Information" = ( "Authenticated" );
|
|
|
|
"WebDAV Access" = ( "Authenticated" );
|
2008-02-05 15:55:29 +01:00
|
|
|
"View" = ( "Authenticated" );
|
2007-06-01 22:35:20 +02:00
|
|
|
};
|
|
|
|
};
|
2007-11-29 18:22:21 +01:00
|
|
|
SOGoGCSFolder = {
|
|
|
|
superclass = "SOGoFolder";
|
|
|
|
};
|
2006-12-14 22:20:13 +01:00
|
|
|
};
|
|
|
|
|
2006-06-15 21:34:10 +02:00
|
|
|
categories = {
|
|
|
|
SOGo = { // TODO: move decls to class
|
2008-12-19 17:56:36 +01:00
|
|
|
slots = {
|
|
|
|
toolbar = {
|
2008-12-19 18:07:40 +01:00
|
|
|
value = "none"; // keep this in order to avoid lookups on username
|
|
|
|
// "toolbar"
|
2008-12-19 17:56:36 +01:00
|
|
|
};
|
|
|
|
};
|
2006-06-15 21:34:10 +02:00
|
|
|
methods = {
|
2007-09-04 17:02:23 +02:00
|
|
|
view = {
|
2007-09-07 00:15:37 +02:00
|
|
|
protectedBy = "<public>";
|
2007-09-04 17:02:23 +02:00
|
|
|
pageName = "SOGoRootPage";
|
|
|
|
};
|
2008-10-03 17:58:31 +02:00
|
|
|
index = {
|
|
|
|
protectedBy = "<public>";
|
|
|
|
pageName = "SOGoRootPage";
|
|
|
|
};
|
2007-12-14 23:02:59 +01:00
|
|
|
/* crash = {
|
2007-12-13 20:26:47 +01:00
|
|
|
protectedBy = "<public>";
|
|
|
|
pageName = "SOGoRootPage";
|
|
|
|
actionName = "crash";
|
|
|
|
};
|
|
|
|
exception = {
|
|
|
|
protectedBy = "<public>";
|
|
|
|
pageName = "SOGoRootPage";
|
|
|
|
actionName = "exception";
|
|
|
|
};
|
|
|
|
raisedException = {
|
|
|
|
protectedBy = "<public>";
|
|
|
|
pageName = "SOGoRootPage";
|
|
|
|
actionName = "raisedException";
|
2007-12-14 23:02:59 +01:00
|
|
|
}; */
|
2007-09-04 17:02:23 +02:00
|
|
|
connect = {
|
2007-09-07 00:15:37 +02:00
|
|
|
protectedBy = "<public>";
|
|
|
|
pageName = "SOGoRootPage";
|
2007-09-04 17:02:23 +02:00
|
|
|
actionName = "connect";
|
2006-06-15 21:34:10 +02:00
|
|
|
};
|
|
|
|
GET = { // more or less a hack, see README of dbd
|
2007-09-07 00:15:37 +02:00
|
|
|
protectedBy = "<public>";
|
2007-09-04 17:02:23 +02:00
|
|
|
pageName = "SOGoRootPage";
|
2006-06-15 21:34:10 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
SOGoRootPage = {
|
|
|
|
};
|
|
|
|
SOGoUserFolder = {
|
2007-06-02 00:16:20 +02:00
|
|
|
methods = {
|
|
|
|
view = {
|
|
|
|
protectedBy = "<public>";
|
|
|
|
pageName = "SOGoUserHomePage";
|
|
|
|
};
|
2007-09-04 17:02:23 +02:00
|
|
|
logoff = {
|
|
|
|
protectedBy = "<public>";
|
|
|
|
pageName = "SOGoUserHomePage";
|
|
|
|
actionName = "logoff";
|
|
|
|
};
|
2008-11-24 05:12:16 +01:00
|
|
|
usersSearch = {
|
|
|
|
protectedBy = "View";
|
|
|
|
pageName = "SOGoUserHomePage";
|
|
|
|
actionName = "usersSearch";
|
|
|
|
};
|
2007-12-05 22:05:04 +01:00
|
|
|
foldersSearch = {
|
|
|
|
protectedBy = "View";
|
|
|
|
pageName = "SOGoUserHomePage";
|
|
|
|
actionName = "foldersSearch";
|
|
|
|
};
|
2007-06-02 00:16:20 +02:00
|
|
|
};
|
2006-06-15 21:34:10 +02:00
|
|
|
};
|
2008-05-03 00:51:49 +02:00
|
|
|
// SOGoGroupsFolder = {
|
|
|
|
// methods = {
|
|
|
|
// index = {
|
|
|
|
// protectedBy = "View";
|
|
|
|
// pageName = "SOGoGroupsPage";
|
|
|
|
// };
|
|
|
|
// };
|
|
|
|
// };
|
|
|
|
// SOGoGroupFolder = {
|
|
|
|
// methods = {
|
|
|
|
// index = {
|
|
|
|
// protectedBy = "View";
|
|
|
|
// pageName = "SOGoGroupPage";
|
|
|
|
// };
|
|
|
|
// };
|
|
|
|
// };
|
2006-10-26 02:16:56 +02:00
|
|
|
SOGoFreeBusyObject = {
|
|
|
|
methods = {
|
|
|
|
ajaxRead = {
|
2007-05-16 18:44:29 +02:00
|
|
|
protectedBy = "<public>";
|
2006-12-14 22:20:13 +01:00
|
|
|
pageName = "SOGoUserHomePage";
|
|
|
|
actionName = "readFreeBusy";
|
2006-10-26 02:16:56 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2008-05-03 00:51:49 +02:00
|
|
|
// SOGoCustomGroupFolder = {
|
|
|
|
// methods = {
|
|
|
|
// };
|
|
|
|
// };
|
2006-06-15 21:34:10 +02:00
|
|
|
};
|
|
|
|
}
|