{ /* -*-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 = ""; 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 = ""; pageName = "UIxContactsListView"; }; new = { protectedBy = ""; pageName = "UIxContactEditor"; actionName = "new"; }; mailer-contacts = { protectedBy = ""; pageName = "UIxContactsListView"; actionName = "mailerContacts"; }; canAccessContent = { protectedBy = ""; actionClass = "UIxFolderActions"; actionName = "canAccessContent"; }; }; }; SOGoContactGCSEntry = { methods = { view = { protectedBy = "Access Contents Information"; pageName = "UIxContactView"; }; delete = { protectedBy = "Delete Objects"; pageName = "UIxContactView"; actionName = "delete"; }; edit = { protectedBy = "Access Contents Information"; pageName = "UIxContactEditor"; }; save = { protectedBy = "Change Images And Files"; pageName = "UIxContactEditor"; actionName = "save"; }; write = { protectedBy = "View"; pageName = "UIxContactEditor"; actionName = "write"; }; }; }; SOGoContactLDIFEntry = { methods = { view = { protectedBy = ""; pageName = "UIxContactView"; }; edit = { protectedBy = ""; pageName = "UIxContactEditor"; }; }; }; }; }