Monotone-Parent: be54fe500757d5b3077ad04c8c9a43cf4088ec61

Monotone-Revision: 64210c1ed841d8f02caf31f0c0e336b0fa9e37df

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-04-26T01:13:55
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2007-04-26 01:13:55 +00:00
parent b13636f385
commit 4948aca14a
5 changed files with 75 additions and 104 deletions

View File

@ -9,35 +9,40 @@
classes = { classes = {
SOGoAppointmentFolder = { SOGoAppointmentFolder = {
superclass = "SOGoFolder"; superclass = "SOGoFolder";
defaultRoles = { defaultRoles = {
"View" = ( "Owner", "Delegate", "Assistant" ); "FreeBusyLookup" = ( "Owner", "FreeBusy", "AuthorizedSubscriber" );
"FreeBusyLookup" = ( "Owner", "Delegate", "Assistant", "FreeBusy" ); "ViewWholePublicRecords" = ( "Owner", "PublicResponder", "PublicModifier", "PublicViewer" );
"Add Documents, Images, and Files" = ( "Owner", "Delegate" ); "ViewDAndTOfPublicRecords" = ( "Owner", "PublicDAndTViewer" );
"Access Contents Information" = ( "Owner", "Delegate", "Assistant" ); "ModifyPublicRecords" = ( "Owner", "PublicModifier" );
"Delete Objects" = ( "Owner", "Organizer", "Delegate" ); "RespondToPublicRecords" = ( "Owner", "PublicModifier", "PublicResponder" );
"ViewWholePrivateRecords" = ( "Owner", "PrivateResponder", "PrivateModifier", "PrivateViewer" );
"ViewDAndTOfPrivateRecords" = ( "Owner", "PrivateDAndTViewer" );
"ModifyPrivateRecords" = ( "Owner", "PrivateModifier" );
"RespondToPrivateRecords" = ( "Owner", "PrivateModifier", "PrivateResponder" );
"ViewWholeConfidentialRecords" = ( "Owner", "ConfidentialResponder", "ConfidentialModifier", "ConfidentialViewer" );
"ViewDAndTOfConfidentialRecords" = ( "Owner", "ConfidentialDAndTViewer" );
"ModifyConfidentialRecords" = ( "Owner", "ConfidentialModifier" );
"RespondToConfidentialRecords" = ( "Owner", "ConfidentialModifier", "ConfidentialResponder" );
}; };
}; };
SOGoGroupAppointmentFolder = { SOGoGroupAppointmentFolder = {
superclass = "SOGoAppointmentFolder"; superclass = "SOGoAppointmentFolder";
}; };
SOGoCalendarComponent = {
SOGoAppointmentObject = {
superclass = "SOGoContentObject"; superclass = "SOGoContentObject";
defaultRoles = { defaultRoles = {
"View" = ( "Owner", "Delegate", "Organizer", "Authenticated" ); "ViewAllComponent" = ( "Owner", "Organizer", "Participant", "ComponentViewer", "ComponentModifier" );
"Change Images and Files" = ( "Owner", "Delegate", "Organizer" ); "ViewDAndT" = ( "Organizer", "Participant", "ComponentDAndTViewer" );
"Access Contents Information" = ( "Owner", "Delegate", "Assistant" ); "ModifyComponent" = ( "Owner", "ComponentModifier" );
"RespondToComponent" = ( "Participant", "ComponentResponder" );
}; };
}; };
SOGoAppointmentObject = {
superclass = "SOGoCalendarComponent";
};
SOGoTaskObject = { SOGoTaskObject = {
superclass = "SOGoContentObject"; superclass = "SOGoCalendarComponent";
defaultRoles = {
"View" = ( "Owner", "Delegate", "Organizer", "Authenticated" );
"Change Images and Files" = ( "Owner", "Delegate", "Organizer" );
"Access Contents Information" = ( "Owner", "Delegate", "Assistant" );
};
}; };
SOGoFreeBusyObject = { SOGoFreeBusyObject = {
superclass = "SOGoContentObject"; superclass = "SOGoContentObject";

View File

@ -11,59 +11,54 @@
SOGoMailBaseObject = { SOGoMailBaseObject = {
superclass = "SOGoObject"; superclass = "SOGoObject";
}; };
SOGoMailAccounts = { SOGoMailAccounts = {
superclass = "SOGoMailBaseObject"; superclass = "SOGoMailBaseObject";
defaultRoles = { defaultRoles = {
"Add Documents, Images, and Files" = ( "Owner", "Delegate" ); "View" = ( "Owner", "AuthorizedSubscriber" );
"View" = ( "Owner", "Delegate", "Assistant" ); "Access Contents Information" = ( "Owner", "AuthorizedSubscriber" );
"WebDAV Access" = ( "Owner", "Delegate", "Assistant" ); "Add Documents, Images, and Files" = ( "Owner", "ObjectCreator" );
"Access Contents Information" = ( "Owner", "Assistant", "Delegate" ); "Delete Objects" = ( "Owner", "ObjectEraser" );
"ReadAcls" = ( "Owner", "Delegate", "Assistant" ); "WebDAV Access" = ( "Owner", "AuthorizedSubscriber" );
"ReadAcls" = ( "Owner", "AuthorizedSubscriber" );
"SaveAcls" = ( "Owner" ); "SaveAcls" = ( "Owner" );
}; };
}; };
SOGoMailAccount = { SOGoMailAccount = {
superclass = "SOGoMailBaseObject"; superclass = "SOGoMailBaseObject";
defaultRoles = { defaultRoles = {
"Add Folders" = ( "Owner", "Delegate" ); "View" = ( "Owner", "AuthorizedSubscriber" );
"Add Documents, Images, and Files" = ( "Owner", "Delegate" ); "Access Contents Information" = ( "Owner", "AuthorizedSubscriber" );
"View" = ( "Owner", "Delegate", "Assistant" ); "Add Documents, Images, and Files" = ( "Owner", "ObjectCreator" );
"WebDAV Access" = ( "Owner", "Delegate", "Assistant" ); "Delete Objects" = ( "Owner", "ObjectEraser" );
"Access Contents Information" = ( "Owner", "Assistant", "Delegate" ); "WebDAV Access" = ( "Owner", "AuthorizedSubscriber" );
"ReadAcls" = ( "Owner", "Delegate", "Assistant" ); "ReadAcls" = ( "Owner", "AuthorizedSubscriber" );
"SaveAcls" = ( "Owner" ); "SaveAcls" = ( "Owner" );
}; };
}; };
SOGoSharedMailAccount = { SOGoSharedMailAccount = {
superclass = "SOGoMailAccount"; superclass = "SOGoMailAccount";
}; };
SOGoMailFolder = { SOGoMailFolder = {
superclass = "SOGoMailBaseObject"; superclass = "SOGoMailBaseObject";
defaultRoles = { defaultRoles = {
"Add Folders" = ( "Owner", "Delegate" ); "View" = ( "Owner", "AuthorizedSubscriber" );
"Add Documents, Images, and Files" = ( "Owner", "Delegate" ); "Access Contents Information" = ( "Owner", "AuthorizedSubscriber" );
"View" = ( "Owner", "Delegate", "Assistant" ); "Add Documents, Images, and Files" = ( "Owner", "ObjectCreator" );
"WebDAV Access" = ( "Owner", "Delegate", "Assistant" ); "Delete Objects" = ( "Owner", "ObjectEraser" );
"Access Contents Information" = ( "Owner", "Assistant", "Delegate" ); "WebDAV Access" = ( "Owner", "AuthorizedSubscriber" );
"ReadAcls" = ( "Owner", "Delegate", "Assistant" ); "ReadAcls" = ( "Owner", "AuthorizedSubscriber" );
"SaveAcls" = ( "Owner" ); "SaveAcls" = ( "Owner" );
}; };
}; };
SOGoSharedInboxFolder = { SOGoSharedInboxFolder = {
superclass = "SOGoMailFolder"; superclass = "SOGoMailFolder";
}; };
SOGoTrashFolder = { SOGoTrashFolder = {
superclass = "SOGoMailFolder"; superclass = "SOGoMailFolder";
}; };
SOGoMailObject = { SOGoMailObject = {
superclass = "SOGoMailBaseObject"; superclass = "SOGoMailBaseObject";
}; };
SOGoMailBodyPart = { SOGoMailBodyPart = {
superclass = "SOGoMailBaseObject"; superclass = "SOGoMailBaseObject";
}; };
@ -79,7 +74,6 @@
SOGoVCardMailBodyPart = { SOGoVCardMailBodyPart = {
superclass = "SOGoMailBodyPart"; superclass = "SOGoMailBodyPart";
}; };
SOGoDraftsFolder = { SOGoDraftsFolder = {
superclass = "SOGoMailBaseObject"; superclass = "SOGoMailBaseObject";
}; };

View File

@ -60,27 +60,27 @@
SOGoFolder = { SOGoFolder = {
methods = { methods = {
subscribe = { subscribe = {
protectedBy = "View"; protectedBy = "<public>";
actionClass = "UIxFolderActions"; actionClass = "UIxFolderActions";
actionName = "subscribe"; actionName = "subscribe";
}; };
unsubscribe = { unsubscribe = {
protectedBy = "View"; protectedBy = "<public>";
actionClass = "UIxFolderActions"; actionClass = "UIxFolderActions";
actionName = "unsubscribe"; actionName = "unsubscribe";
}; };
canAccessContent = { canAccessContent = {
protectedBy = "View"; protectedBy = "<public>";
actionClass = "UIxFolderActions"; actionClass = "UIxFolderActions";
actionName = "canAccessContent"; actionName = "canAccessContent";
}; };
activateFolder = { activateFolder = {
protectedBy = "View"; protectedBy = "<public>";
actionClass = "UIxFolderActions"; actionClass = "UIxFolderActions";
actionName = "activateFolder"; actionName = "activateFolder";
}; };
deactivateFolder = { deactivateFolder = {
protectedBy = "View"; protectedBy = "<public>";
actionClass = "UIxFolderActions"; actionClass = "UIxFolderActions";
actionName = "deactivateFolder"; actionName = "deactivateFolder";
}; };

View File

@ -15,40 +15,20 @@
"View" = ( "Authenticated", "FreeBusy" ); "View" = ( "Authenticated", "FreeBusy" );
}; };
}; };
SOGoUserFolder = { SOGoFolder = {
superclass = "SOGoFolder"; superclass = "SOGoObject";
protectedBy = "<public>"; protectedBy = "<public>";
defaultAccess = "allow"; defaultAccess = "allow";
defaultRoles = { defaultRoles = {
"View" = ( "Owner" ); "Add Documents, Images, and Files" = ( "Owner", "ObjectCreator" );
}; "View" = ( "Owner", "AuthorizedSubscriber" );
/* protectedBy = "HomePage Access"; */ "Access Contents Information" = ( "Owner", "AuthorizedSubscriber" );
}; "WebDAV Access" = ( "Owner", "AuthorizedSubscriber" );
SOGoFolder = { "ReadAcls" = ( "Owner", "AuthorizedSubscriber" );
superclass = "SOGoObject";
protectedBy = "Access Contents Information";
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" ); "SaveAcls" = ( "Owner" );
"Delete Objects" = ( "Owner", "Delegate" ); "Delete Objects" = ( "Owner", "ObjectEraser" );
}; };
}; };
SOGoGroupsFolder = {
superclass = "SOGoObject";
protectedBy = "View";
};
SOGoGroupFolder = {
superclass = "SOGoObject";
protectedBy = "View";
};
SOGoCustomGroupFolder = {
superclass = "SOGoGroupFolder";
protectedBy = "View";
};
}; };
categories = { categories = {

View File

@ -111,12 +111,14 @@
pageName = "UIxCalUserRightsEditor"; pageName = "UIxCalUserRightsEditor";
}; };
saveUserRights = { saveUserRights = {
protectedBy = "ReadAcls"; protectedBy = "SaveAcls";
pageName = "UIxCalUserRightsEditor"; pageName = "UIxCalUserRightsEditor";
actionName = "saveUserRights"; actionName = "saveUserRights";
}; };
}; };
}; };
SOGoCalendarComponent = {
};
SOGoAppointmentObject = { SOGoAppointmentObject = {
slots = { slots = {
@ -127,47 +129,42 @@
}; };
methods = { methods = {
view = { view = {
protectedBy = "View"; protectedBy = "ViewAllComponent";
pageName = "UIxAppointmentView"; pageName = "UIxAppointmentView";
}; };
delete = { delete = {
protectedBy = "View"; protectedBy = "Delete Objects";
pageName = "UIxAppointmentView"; pageName = "UIxAppointmentView";
actionName = "delete"; actionName = "delete";
}; };
edit = { edit = {
protectedBy = "View"; protectedBy = "ViewAllComponent";
pageName = "UIxAppointmentEditor"; pageName = "UIxAppointmentEditor";
}; };
editAsAppointment = { editAsAppointment = {
protectedBy = "View"; protectedBy = "ViewAllComponent";
pageName = "UIxAppointmentEditor"; pageName = "UIxAppointmentEditor";
}; };
save = { save = {
protectedBy = "View"; protectedBy = "ModifyComponent";
pageName = "UIxAppointmentEditor"; pageName = "UIxAppointmentEditor";
actionName = "save"; actionName = "save";
}; };
saveAsAppointment = { saveAsAppointment = {
protectedBy = "View"; protectedBy = "ModifyComponent";
pageName = "UIxAppointmentEditor"; pageName = "UIxAppointmentEditor";
actionName = "save"; actionName = "save";
}; };
accept = { accept = {
protectedBy = "View"; protectedBy = "RespondToComponent";
pageName = "UIxAppointmentEditor"; pageName = "UIxAppointmentEditor";
actionName = "accept"; actionName = "accept";
}; };
decline = { decline = {
protectedBy = "View"; protectedBy = "RespondToComponent";
pageName = "UIxAppointmentEditor"; pageName = "UIxAppointmentEditor";
actionName = "decline"; actionName = "decline";
}; };
test = {
protectedBy = "View";
pageName = "UIxAppointmentEditor";
actionName = "test";
};
}; };
}; };
@ -180,52 +177,47 @@
}; };
methods = { methods = {
view = { view = {
protectedBy = "View"; protectedBy = "ViewAllComponent";
pageName = "UIxTaskView"; pageName = "UIxTaskView";
}; };
delete = { delete = {
protectedBy = "View"; protectedBy = "Delete Objects";
pageName = "UIxTaskView"; pageName = "UIxTaskView";
actionName = "delete"; actionName = "delete";
}; };
edit = { edit = {
protectedBy = "View"; protectedBy = "ViewAllComponent";
pageName = "UIxTaskEditor"; pageName = "UIxTaskEditor";
}; };
editAsTask = { editAsTask = {
protectedBy = "View"; protectedBy = "ViewAllComponent";
pageName = "UIxTaskEditor"; pageName = "UIxTaskEditor";
}; };
save = { save = {
protectedBy = "Change Images and Files"; protectedBy = "ModifyComponent";
pageName = "UIxTaskEditor"; pageName = "UIxTaskEditor";
actionName = "save"; actionName = "save";
}; };
saveAsTask = { saveAsTask = {
protectedBy = "Change Images and Files"; protectedBy = "ModifyComponent";
pageName = "UIxTaskEditor"; pageName = "UIxTaskEditor";
actionName = "save"; actionName = "save";
}; };
changeStatus = { changeStatus = {
protectedBy = "Change Images and Files"; protectedBy = "ModifyComponent";
pageName = "UIxTaskEditor"; pageName = "UIxTaskEditor";
actionName = "changeStatus"; actionName = "changeStatus";
}; };
accept = { accept = {
protectedBy = "Change Images and Files"; protectedBy = "RespondToComponent";
pageName = "UIxTaskEditor"; pageName = "UIxTaskEditor";
actionName = "accept"; actionName = "accept";
}; };
decline = { decline = {
protectedBy = "Change Images and Files"; protectedBy = "RespondToComponent";
pageName = "UIxTaskEditor"; pageName = "UIxTaskEditor";
actionName = "decline"; actionName = "decline";
}; };
test = {
protectedBy = "View";
pageName = "UIxTaskEditor";
actionName = "test";
};
}; };
}; };
}; };