title: How to hide Backoffice nodes including some product nodes?
body: <p>I am using SAP Commerce Cloud 19.05 in my B2C project.We have certain custom itemtypes like:</p>
  
  <ol>
  <li><code>XYZCompanyProduct</code>(extends <code>Product</code>)</li>
  <li><code>XYZLaptopProduct</code>(extends <code>XYZCompanyProduct</code>)</li>
  <li><code>XYZMobileProduct</code>(extends <code>Product</code>)</li>
  </ol>
  
  <p>Now in the explorer tree, we have three nodes corresponding to the above nodes. We want certain users to have access to <code>XYZLaptopProduct</code> and <code>Orders</code> and <code>Consignment</code> nodes and other nodes to be hidden when the user logs in.</p>
  
  <p>We tried several ways of achieving this like:</p>
  
  <ol>
  <li>We created a Backoffice role for the laptop product users and a corresponding group to it(say <code>laptopGroups</code>).</li>
  <li>In the <code>groups</code> section of <code>laptopGroups</code> we gave it access to <code>backofficeproductmanagergroup</code> and the above role.</li>
  <li>The above step caused it to have access to multiple other product nodes, as well(like <code>XYZCompanyProduct</code> and <code>XYZMobileProduct</code>) which is unwanted behaviour.</li>
  <li><p>I tried removing the nodes by:</p>
  
  <p><code>&lt;context component="explorer-tree" merge-by="principal" principal="laptopGroups"&gt;
        &lt;!-- other nodes... --&gt;
      &lt;navigation-node id="Restricted" merge-mode="remove"/&gt;
  &lt;/context&gt;</code></p></li>
  </ol>
  
  <p>These steps seem to be all failing. Where am I going wrong? Should I approach this in a different way?</p>