<div dir="ltr">Hi List,<div><br></div><div>I see page 26 (OpenCms 8.5.2 Documentation_v1.3):</div><div><div><mapping element="..."</div><div>mapto="permission:GROUP:+r+v|GROUP.ALL_OTHERS:|GROUP.Projectmanagers:+r+v+w+c" /></div>
<div><br></div><div>Then I try applied concept in element xsd in my project OpenCms 8.5.2:</div><div><div><?xml version="1.0" encoding="UTF-8"?></div><div><xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" elementFormDefault="qualified"></div>
<div><span class="" style="white-space:pre">    </span><xsd:include schemaLocation="opencms://opencms-xmlcontent.xsd"/></div><div><span class="" style="white-space:pre">   </span><xsd:element name="Noticias" type="OpenCmsNoticias"/></div>
<div><br></div><div><span class="" style="white-space:pre">   </span><xsd:complexType name="OpenCmsNoticias"></div><div><span class="" style="white-space:pre">           </span><xsd:sequence></div><div><span class="" style="white-space:pre">                       </span><xsd:element name="Noticia" type="OpenCmsNoticia" minOccurs="0" maxOccurs="unbounded"/></div>
<div><span class="" style="white-space:pre">            </span></xsd:sequence></div><div><span class="" style="white-space:pre">      </span></xsd:complexType></div><div><br></div><div><span class="" style="white-space:pre">  </span><xsd:complexType name="OpenCmsNoticia"></div>
<div><span class="" style="white-space:pre">            </span><xsd:sequence></div><div><span class="" style="white-space:pre">                       </span><xsd:element name="Titulo" type="OpenCmsString" /></div><div><span class="" style="white-space:pre">                       </span><xsd:element name="Data" type="OpenCmsDateTime"/></div>
<div><span class="" style="white-space:pre">            </span></xsd:sequence></div><div><span class="" style="white-space:pre">              </span><xsd:attribute name="language" type="OpenCmsLocale" use="required"/></div>
<div><span class="" style="white-space:pre">    </span></xsd:complexType></div><div><br></div><div><span class="" style="white-space:pre">  </span><xsd:annotation></div><div><span class="" style="white-space:pre">             </span><xsd:appinfo></div>
<div><span class="" style="white-space:pre">                    </span><validationrules></div><div><span class="" style="white-space:pre">                            </span><rule element="Titulo" regex="!^\s*" message="O Campo 'Título' é Obrigatório."/></div>
<div><span class="" style="white-space:pre">                            </span><rule element="Data" regex="[1-9][0-9]+" message="O Campo 'Data' é Obrigatório."/></div><div><span class="" style="white-space:pre">                             </span><!--<rule element="Video" regex="!^\s*" message="O Campo 'Video' é Obrigatório." />--></div>
<div><span class="" style="white-space:pre">                    </span></validationrules></div><div><span class="" style="white-space:pre">                   </span><layouts><span class="" style="white-space:pre">                   </span></div><div><span class="" style="white-space:pre">   </span>        <span class="" style="white-space:pre">  </span><layout element="Data" widget="DateTimeWidget"/></div>
<div><span class="" style="white-space:pre">    </span> <span class="" style="white-space:pre">         </span></layouts></div><div><span class="" style="white-space:pre">   </span> <span class="" style="white-space:pre">         </span><mappings></div>
<div><span class="" style="white-space:pre">                            </span><!--<mapping element="Titulo" mapto="property:Title" />--></div><div><span class="" style="white-space:pre">                         </span><mapping element="Data" mapto="property:collector.date" /></div>
<div><span class="" style="white-space:pre">                            </span><mapping element="Titulo" mapto="permission:GROUP.POC_TEST:-r-v|GROUP.ALL_OTHERS:|GROUP.Projectmanagers:+r+v+w+c" /><span class="" style="white-space:pre">                            </span></div>
<div><span class="" style="white-space:pre">                    </span></mappings></div><div><span class="" style="white-space:pre">          </span></xsd:appinfo></div><div><span class="" style="white-space:pre">       </span></xsd:annotation></div>
<div></xsd:schema></div></div><div><br></div><div>But dont work:</div><div><mapping element="Titulo" mapto="permission:GROUP.POC_TEST:-r-v|GROUP.ALL_OTHERS:|GROUP.Projectmanagers:+r+v+w+c" /><span class="" style="white-space:pre">          </span><br>
</div><div><span class="" style="white-space:pre"><br></span></div><div><span class="" style="white-space:pre">I try:</span></div><div><span class="" style="white-space:pre"><span style="white-space:normal"><mapping element="Titulo" mapto="permission:GROUP.POC_TEST:-</span><span style="white-space:normal">r-v-w-c</span><span style="white-space:normal">" /></span><span class="">            </span><br>
</span></div><div><br></div><div><div><span class="" style="white-space:pre"><span style="white-space:normal"><mapping element="Titulo" mapto="permission:GROUP.POC_TEST:-</span><span style="white-space:normal">r-v-w-c</span><span style="white-space:normal">|GROUP.ALL_OTHERS:|GROUP.Projectmanagers:+r+v+w+c" /></span><span class="">            </span><br>
</span></div></div><div><span class="" style="white-space:pre"><span class=""><br></span></span></div><div><span class="" style="white-space:pre"><span class=""><span style="white-space:normal"><mapping element="Titulo" mapto="permission:GROUP.POC_TEST:-</span><span style="white-space:normal">r-v-w-c</span><span style="white-space:normal">|GROUP.ALL_OTHERS:|GROUP.Projectmanagers:-r-v-w-c" /></span><span class="">          </span><br>
</span></span></div><div><span class="" style="white-space:pre"><span class=""><span class=""><br></span></span></span></div><div><span class="" style="white-space:pre"><span class=""><span class="">etc...</span></span></span></div>
<div><span class="" style="white-space:pre"><span class=""><span class=""><br></span></span></span></div><div><span class="" style="white-space:pre"><span class=""><span class="">My group POC_TEST group pattern is USERS, I try projectmanagement, etc, but dont work, I try change Roles, but dont work too...</span></span></span></div>
<div><span class="" style="white-space:pre"><span class=""><span class=""><br></span></span></span></div><div><span class="" style="white-space:pre"><span class=""><span class="">I need hidden field for only group,  in xmlcontent...</span></span></span></div>
<div><span class="" style="white-space:pre"><span class=""><span class=""><br></span></span></span></div><div><span style="white-space:pre">Somebody any solution for this?</span></div><br clear="all"><div>Deiverson</div><div>
<br></div>-- <br><i><div><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><a href="http://www.solutioncms.com" target="_blank">www.solutioncms.com</a></i></span></div>
</i></span></div><div><span style="font-style:normal"><i><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important">
<i>The Brazilian </i><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important"><i>Official Provider OpenCms</i></div>
</i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i>

</div></div>