sogo/UI/Contacts/product.plist
Wolfgang Sourdeau 76078d93de Monotone-Parent: d5f8c52180a18aefe5556a8cc5be91ebecf23c37
Monotone-Revision: 13eeb49749c2fffd30ec7595581aa47c40de5671

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-06-01T20:35:20
Monotone-Branch: ca.inverse.sogo
2007-06-01 20:35:20 +00:00

195 lines
5.5 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 = "<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";
};
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 = "<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";
};
};
};
};
}