e2340b4c9f
Monotone-Parent: c4c95e670daa9c22e838239469a51f3d23b84ab0 Monotone-Revision: 92e93f3527a76deed69fa61275517490d57f9a4f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-09-14T22:01:02 Monotone-Branch: ca.inverse.sogo
185 lines
5.2 KiB
JavaScript
185 lines
5.2 KiB
JavaScript
{ /* -*-javascript-*- */
|
|
requires = ( MAIN, MainUI, CommonUI, Contacts );
|
|
|
|
publicResources = ();
|
|
|
|
factories = {};
|
|
|
|
categories = {
|
|
SOGoContactFolders = {
|
|
methods = {
|
|
view = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactFoldersView";
|
|
};
|
|
new = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactFoldersView";
|
|
actionName = "new";
|
|
};
|
|
mailer-contacts = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactFoldersView";
|
|
actionName = "selectForMailer";
|
|
};
|
|
contactSearch = {
|
|
protectedBy = "<public>";
|
|
pageName = "UIxContactFoldersView";
|
|
actionName = "contactSearch";
|
|
};
|
|
foldersSearch = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactFoldersView";
|
|
actionName = "foldersSearch";
|
|
};
|
|
updateAdditionalAddressBooks = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactFoldersView";
|
|
actionName = "updateAdditionalAddressBooks";
|
|
};
|
|
acls = {
|
|
protectedBy = "ReadAcls";
|
|
pageName = "UIxAclEditor";
|
|
};
|
|
saveAcls = {
|
|
protectedBy = "SaveAcls";
|
|
pageName = "UIxAclEditor";
|
|
actionName = "saveAcls";
|
|
};
|
|
checkRights = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactFoldersView";
|
|
actionName = "checkRights";
|
|
};
|
|
userFolders = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactsUserFolders";
|
|
};
|
|
};
|
|
};
|
|
|
|
/* both following class should be "reparented" so as to only have
|
|
SOGoContactFolder here... */
|
|
SOGoContactGCSFolder = {
|
|
slots = {
|
|
toolbar = {
|
|
protectedBy = "View";
|
|
value = "SOGoContactFolder.toolbar";
|
|
};
|
|
};
|
|
methods = {
|
|
view = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactsListView";
|
|
};
|
|
new = {
|
|
protectedBy = "Add Documents, Images, and Files";
|
|
pageName = "UIxContactEditor";
|
|
actionName = "new";
|
|
};
|
|
mailer-contacts = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactsListView";
|
|
actionName = "mailerContacts";
|
|
};
|
|
userRights = {
|
|
protectedBy = "ReadAcls";
|
|
pageName = "UIxContactsUserRightsEditor";
|
|
};
|
|
saveUserRights = {
|
|
protectedBy = "SaveAcls";
|
|
pageName = "UIxContactsUserRightsEditor";
|
|
actionName = "saveUserRights";
|
|
};
|
|
};
|
|
};
|
|
|
|
SOGoContactLDAPFolder = {
|
|
slots = {
|
|
toolbar = {
|
|
protectedBy = "View";
|
|
value = "SOGoContactFolder.toolbar";
|
|
};
|
|
};
|
|
methods = {
|
|
view = {
|
|
protectedBy = "<public>";
|
|
pageName = "UIxContactsListView";
|
|
};
|
|
new = {
|
|
protectedBy = "<public>";
|
|
pageName = "UIxContactEditor";
|
|
actionName = "new";
|
|
};
|
|
mailer-contacts = {
|
|
protectedBy = "<public>";
|
|
pageName = "UIxContactsListView";
|
|
actionName = "mailerContacts";
|
|
};
|
|
canAccessContent = {
|
|
protectedBy = "<public>";
|
|
actionClass = "UIxFolderActions";
|
|
actionName = "canAccessContent";
|
|
};
|
|
};
|
|
};
|
|
|
|
SOGoContactGCSEntry = {
|
|
methods = {
|
|
view = {
|
|
protectedBy = "Access Contents Information";
|
|
pageName = "UIxContactView";
|
|
};
|
|
delete = {
|
|
protectedBy = "Delete Objects";
|
|
pageName = "UIxContactView";
|
|
actionName = "delete";
|
|
};
|
|
edit = {
|
|
protectedBy = "Change Images And Files";
|
|
pageName = "UIxContactEditor";
|
|
};
|
|
save = {
|
|
protectedBy = "Change Images And Files";
|
|
pageName = "UIxContactEditor";
|
|
actionName = "save";
|
|
};
|
|
write = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactEditor";
|
|
actionName = "write";
|
|
};
|
|
};
|
|
};
|
|
|
|
SOGoContactLDIFEntry = {
|
|
methods = {
|
|
view = {
|
|
protectedBy = "<public>";
|
|
pageName = "UIxContactView";
|
|
};
|
|
delete = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactView";
|
|
actionName = "delete";
|
|
};
|
|
edit = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactEditor";
|
|
};
|
|
save = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactEditor";
|
|
actionName = "save";
|
|
};
|
|
write = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactEditor";
|
|
actionName = "write";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|