title: How to restrict components in parsys
body: <p>Is there a way in CQ 5.6 to restrict use of specific components within a parsys? e.g. I want to restrict author to use only text component within a parsys, following is how I render the parsys inside one of my component JSP file:</p>
  
  <pre><code>&lt;cq:include path="textpar" resourceType="foundation/components/parsys" /&gt;
  </code></pre>
  
  <p>Previously in CQ 5.4 following code in /etc/designs/myapp/.content.xml used to work for this:</p>
  
  <pre><code>&lt;textpar
      jcr:lastModified="{Date}2012-10-21T15:00:00.000-07:00"
      jcr:lastModifiedBy="admin"
      jcr:primaryType="nt:unstructured"
      sling:resourceType="foundation/components/parsys"
      components="[/libs/foundation/components/text]"&gt;
      &lt;section jcr:primaryType="nt:unstructured"/&gt;
  </code></pre>
  
  <p>But in CQ 5.6 it's not working. Am I missing something or the way to restrict components changed?</p>
  
  <p>Thanks</p>