{ /* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ requires = ( MAIN, MainUI, CommonUI, Contacts ); publicResources = (); factories = {}; categories = { SOGoContactFolders = { slots = { toolbar = { protectedBy = "View"; value = "SOGoContactFolder.toolbar"; }; }; methods = { view = { protectedBy = "View"; pageName = "UIxContactFoldersView"; }; mailer-contacts = { protectedBy = "View"; pageName = "UIxContactFoldersView"; actionName = "mailerContacts"; }; allContactSearch = { protectedBy = ""; pageName = "UIxContactFoldersView"; actionName = "allContactSearch"; }; updateAdditionalAddressBooks = { protectedBy = "View"; pageName = "UIxContactFoldersView"; actionName = "updateAdditionalAddressBooks"; }; acls = { protectedBy = "ReadAcls"; pageName = "UIxAclEditor"; }; saveAcls = { protectedBy = "Change Permissions"; pageName = "UIxAclEditor"; actionName = "saveAcls"; }; checkRights = { protectedBy = "View"; pageName = "UIxContactFoldersView"; actionName = "checkRights"; }; UIxContactEditorTemplate = { protectedBy = "View"; pageName = "UIxContactEditorTemplate"; }; UIxContactsUserFolders = { protectedBy = "View"; pageName = "UIxContactsUserFolders"; }; saveDragHandleState = { protectedBy = "View"; pageName = "UIxContactFoldersView"; actionName = "saveDragHandleState"; }; }; }; /* 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"; actionClass = "UIxContactsListActions"; actionName = "contactsList"; }; // contacts = { // protectedBy = "View"; // actionClass = "UIxContactsListActions"; // actionName = "contactsList"; // }; contactSearch = { protectedBy = ""; actionClass = "UIxContactsListActions"; actionName = "contactSearch"; }; newcontact = { protectedBy = ""; pageName = "UIxContactEditor"; actionName = "new"; }; newlist = { protectedBy = "Add Documents, Images, and Files"; pageName = "UIxListEditor"; actionName = "new"; }; mailer-contacts = { protectedBy = "View"; pageName = "UIxContactFoldersView"; actionName = "mailerContacts"; }; export = { protectedBy = "View"; actionClass = "UIxContactFolderActions"; actionName = "export"; }; exportFolder = { protectedBy = "View"; actionClass = "UIxContactFolderActions"; actionName = "export"; }; import = { protectedBy = "Add Documents, Images, and Files"; actionClass = "UIxContactFolderActions"; actionName = "import"; }; UIxContactsUserRightsEditor = { protectedBy = "ReadAcls"; pageName = "UIxContactsUserRightsEditor"; }; userRights = { protectedBy = "ReadAcls"; pageName = "UIxContactsUserRightsEditor"; actionName = "userRights"; }; saveUserRights = { protectedBy = "Change Permissions"; pageName = "UIxContactsUserRightsEditor"; actionName = "saveUserRights"; }; links = { protectedBy = "View"; pageName = "UIxContactFolderLinksTemplate"; }; }; }; SOGoContactSourceFolder = { slots = { toolbar = { protectedBy = "View"; value = "SOGoContactFolder.toolbar"; }; }; methods = { view = { protectedBy = ""; actionClass = "UIxContactsListActions"; actionName = "contactsList"; }; newcontact = { protectedBy = ""; pageName = "UIxContactEditor"; actionName = "new"; }; save = { protectedBy = "Change Permissions"; actionClass = "UIxFolderActions"; actionName = "renameFolder"; }; mailer-contacts = { protectedBy = ""; pageName = "UIxContactFoldersView"; actionName = "mailerContacts"; }; canAccessContent = { protectedBy = ""; actionClass = "UIxFolderActions"; actionName = "canAccessContent"; }; copy = { protectedBy = "Access Contents Information"; actionClass = "UIxFolderActions"; actionName = "copy"; }; }; }; SOGoContactGCSEntry = { methods = { view = { protectedBy = "Access Contents Information"; pageName = "UIxContactView"; actionName = "data"; }; edit = { protectedBy = "Access Contents Information"; pageName = "UIxContactEditor"; }; editAsContact = { protectedBy = "Access Contents Information"; pageName = "UIxContactEditor"; }; save = { protectedBy = "Change Images And Files"; pageName = "UIxContactEditor"; actionName = "save"; }; saveAsContact = { protectedBy = "Change Images And Files"; pageName = "UIxContactEditor"; actionName = "save"; }; write = { protectedBy = "View"; pageName = "UIxContactEditor"; actionName = "write"; }; setCategory = { protectedBy = "Change Images And Files"; actionClass = "UIxContactActions"; actionName = "setCategory"; }; unsetCategory = { protectedBy = "Change Images And Files"; actionClass = "UIxContactActions"; actionName = "unsetCategory"; }; raw = { protectedBy = "View"; actionClass = "UIxContactActions"; actionName = "raw"; }; }; }; SOGoContactGCSList = { methods = { view = { protectedBy = "Access Contents Information"; pageName = "UIxListView"; actionName = "data"; }; properties = { protectedBy = "Access Contents Information"; pageName = "UIxListView"; actionName = "properties"; }; edit = { protectedBy = "Access Contents Information"; pageName = "UIxListEditor"; }; editAsList = { protectedBy = "Access Contents Information"; pageName = "UIxListEditor"; }; save = { protectedBy = "Change Images And Files"; pageName = "UIxListEditor"; actionName = "save"; }; saveAsList = { protectedBy = "Change Images And Files"; pageName = "UIxListEditor"; actionName = "save"; }; raw = { protectedBy = "View"; actionClass = "UIxContactActions"; actionName = "raw"; }; }; }; SOGoContactLDIFEntry = { methods = { view = { protectedBy = "Access Contents Information"; pageName = "UIxContactView"; actionName = "data"; }; edit = { protectedBy = "Access Contents Information"; pageName = "UIxContactEditor"; }; editAsContact = { protectedBy = "Access Contents Information"; pageName = "UIxContactEditor"; }; save = { protectedBy = "Change Images And Files"; pageName = "UIxContactEditor"; actionName = "save"; }; saveAsContact = { protectedBy = "Change Images And Files"; pageName = "UIxContactEditor"; actionName = "save"; }; write = { protectedBy = ""; pageName = "UIxContactEditor"; actionName = "write"; }; }; }; }; }