title: Hybris: How to restrict a component to multiple item types?
body: <p>In our application, we assign UserGroup to users in order to restrict scope.
  For this, we make use of B2BUnit as a type. However, we have Customers, Suppliers, and Partners as sub-groups of B2BUnit.</p>
  <p>Problem Statement: We want to restrict the UserGroups to only Customers and Suppliers, and NOT the Partners.</p>
  <p>I have already tried 'restrictToType' This only allows us to restrict the entry to one particular sub type, not a set of types.</p>
  <pre><code>&lt;wz:property qualifier=&quot;userGroup&quot;&gt;
      &lt;wz:editor-parameter&gt;
          &lt;wz:name&gt;restrictToType&lt;/wz:name&gt;
          &lt;wz:value&gt;B2BCustomer&lt;/wz:value&gt;
      &lt;/wz:editor-parameter&gt;
  &lt;/wz:property&gt;
  </code></pre>