Menu Locking - BloomReach Experience - Open Source CMS

This article covers a Hippo CMS version 12. There's an updated version available that covers our most recent release.

20-06-2018

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.

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?