Menu Locking
When one webmaster makes changes in a menu item through the Channel Editor as described in Enable 'edit menu' button that opens the menu editor, the entire menu gets locked. Other webmasters cannot edit that specific menu until the first webmaster publishes or discards their changes.
Note that through the Channel Editor only the menus inside the hst:workspace can be edited.
When a webmaster publishes changes made to the menu through the Channel Editor, the entire live menu gets replaced. For example, assume the following configuration:
/hst:hst: /hst:configurations: /example: /hst:workspace: /hst:sitemenus: jcr:primaryType: hst:sitemenus /main: jcr:primaryType: hst:sitemenu /home: jcr:primaryType: hst:sitemenuitem /about: jcr:primaryType: hst:sitemenuitem /footer: jcr:primaryType: hst:sitemenu /address: jcr:primaryType: hst:sitemenuitem /contact: jcr:primaryType: hst:sitemenuitem /example-preview: /hst:workspace: /hst:sitemenus: jcr:primaryType: hst:sitemenus /main: jcr:primaryType: hst:sitemenu hst:lockedby: john /home: jcr:primaryType: hst:sitemenuitem /about: jcr:primaryType: hst:sitemenuitem /new: jcr:primaryType: hst:sitemenuitem /footer: jcr:primaryType: hst:sitemenu hst:lockedby: jane /address: jcr:primaryType: hst:sitemenuitem /contact: jcr:primaryType: hst:sitemenuitem /route: jcr:primaryType: hst:sitemenuitem
Now when user john published, the entire example-preview/hst:workspace/hst:sitemenus/main node tree replaces the one at example/hst:workspace/hst:sitemenus/main, at the same time removing the hst:lockedby = john property. The changes made by user jane are still there after john publishes his changes. The main menu locks are freed, the footer menu stays locked.