Monotone-Revision: 0653c8c5e81c2a2dd5096e25700dc8810e330dfa Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-04-27T22:05:17 Monotone-Branch: ca.inverse.sogo
193 lines
5.4 KiB
JavaScript
193 lines
5.4 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";
|
|
};
|
|
newAb = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactFoldersView";
|
|
actionName = "newAb";
|
|
};
|
|
mailer-contacts = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactFoldersView";
|
|
actionName = "selectForMailer";
|
|
};
|
|
contactSearch = {
|
|
protectedBy = "View";
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
|
|
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";
|
|
};
|
|
delete = {
|
|
protectedBy = "SaveAcls"; /* a hack to force "owner" */
|
|
pageName = "UIxContactsListView";
|
|
actionName = "delete";
|
|
};
|
|
userRights = {
|
|
protectedBy = "ReadAcls";
|
|
pageName = "UIxContactsUserRightsEditor";
|
|
};
|
|
saveUserRights = {
|
|
protectedBy = "SaveAcls";
|
|
pageName = "UIxContactsUserRightsEditor";
|
|
actionName = "saveUserRights";
|
|
};
|
|
};
|
|
};
|
|
|
|
SOGoContactLDAPFolder = {
|
|
slots = {
|
|
toolbar = {
|
|
protectedBy = "View";
|
|
value = "SOGoContactFolder.toolbar";
|
|
};
|
|
};
|
|
methods = {
|
|
view = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactsListView";
|
|
};
|
|
new = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactEditor";
|
|
actionName = "new";
|
|
};
|
|
mailer-contacts = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactsListView";
|
|
actionName = "mailerContacts";
|
|
};
|
|
canAccessContent = {
|
|
protectedBy = "View";
|
|
pageName = "UIxContactsListView";
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
|
|
SOGoContactLDAPEntry = {
|
|
methods = {
|
|
view = {
|
|
protectedBy = "View";
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|