<div dir="ltr">Thank you for the accurate informations, this will be very helpful.<div><br></div><div>One more thing: is it possible to filter the wms GetCapabilities request's layer list according to an authenticated user (or role)?</div><div><br></div><div>regards,</div><div><br></div><div>Marco</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 18 giu 2021 alle ore 03:29 Germán Carrillo <<a href="mailto:carrillo.german@gmail.com">carrillo.german@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Marco,<div><br></div><div><br></div><div>I published a blog where I configured permissions based on user roles for a QGIS Server workshop.</div><div>Keep in mind that it was just a demo. It was based on some plugin examples by Alessandro Pasotti.</div><div><br></div><div>One single project, one single WMS, several user roles and different permissions (based on spatial and non-spatial filters) per role.</div><div><br></div><div>You can read here [1] the instructions.</div><div>They are unfortunately only in Spanish. Even though I created an English version, we are migrating the whole website at the moment, so it's unavailable.</div><div>I hope you manage to translate them.</div><div><br></div><div><br></div><div>BTW, according to your use case, you would need to focus on "layerPermissions" (see the link Thomas posted earlier in this thread).<br></div><div><br></div><div><br></div><div>Regards, </div><div><br></div><div>Germán</div><div>------------</div><div>[1] <a href="https://geotux.tuxfamily.org/2019/05/07/accediendo-a-datos-de-qgis-server-con-base-en-roles-de-usuario/#qs-10" target="_blank">https://geotux.tuxfamily.org/2019/05/07/accediendo-a-datos-de-qgis-server-con-base-en-roles-de-usuario/#qs-10</a></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El jue, 17 jun 2021 a las 16:45, Thomas Gratier (<<a href="mailto:osgeo.mailinglist@gmail.com" target="_blank">osgeo.mailinglist@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>You may create a QGIS Server plugin to manage your permissions e.g <a href="https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/server.html#accesscontrol-py" target="_blank">https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/server.html#accesscontrol-py</a><br></div><div><br></div><div>Regards</div><div><br></div><div dir="ltr">Thomas</div></div></div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br clear="all"><div><br></div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div></div></div></div></div></div></div></div></div>
</blockquote></div>