On Mon, Jun 21, 2021 at 10:06 AM Marco Casalboni <casalbo...@gmail.com> wrote:
> Thank you for the accurate informations, this will be very helpful. > > One more thing: is it possible to filter the wms GetCapabilities request's > layer list according to an authenticated user (or role)? > Yes: https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/server.html#access-control-filters > regards, > > Marco > > Il giorno ven 18 giu 2021 alle ore 03:29 Germán Carrillo < > carrillo.ger...@gmail.com> ha scritto: > >> Hi Marco, >> >> >> I published a blog where I configured permissions based on user roles for >> a QGIS Server workshop. >> Keep in mind that it was just a demo. It was based on some plugin >> examples by Alessandro Pasotti. >> >> One single project, one single WMS, several user roles and different >> permissions (based on spatial and non-spatial filters) per role. >> >> You can read here [1] the instructions. >> 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. >> I hope you manage to translate them. >> >> >> BTW, according to your use case, you would need to focus on >> "layerPermissions" (see the link Thomas posted earlier in this thread). >> >> >> Regards, >> >> Germán >> ------------ >> [1] >> https://geotux.tuxfamily.org/2019/05/07/accediendo-a-datos-de-qgis-server-con-base-en-roles-de-usuario/#qs-10 >> >> >> El jue, 17 jun 2021 a las 16:45, Thomas Gratier (< >> osgeo.mailingl...@gmail.com>) escribió: >> >>> Hi, >>> >>> You may create a QGIS Server plugin to manage your permissions e.g >>> https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/server.html#accesscontrol-py >>> >>> Regards >>> >>> Thomas >>> _______________________________________________ >>> Qgis-user mailing list >>> Qgis-user@lists.osgeo.org >>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >>> >> >> >> _______________________________________________ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > -- Alessandro Pasotti QCooperative: www.qcooperative.net ItOpen: www.itopen.it
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user