[Qgis-user] QGIS Server - serve WMS with basic authentication
Alessandro Pasotti
apasotti at gmail.com
Tue Jun 22 03:50:47 PDT 2021
On Tue, Jun 22, 2021 at 12:47 PM Marco Casalboni <casalbonim at gmail.com>
wrote:
> I'm sorry to bother you more.
> With the examples provided I can easily set up my role permissions, but it
> works on layers only: the accessControlFilter.layerPermissions doesn't seem
> to take care of layer groups in the GetCapabilities request.
> If the layer group has 0 layers because none of the sublayers is readable
> by the authenticated user, it still remains in the GetCapabilities response.
>
> Is it possible to exclude a group with 0 layers in the GetCapabilities
> response?
>
This sounds like a bug to me... I cannot see any valid reason to keep an
empty group in the capabilities response.
Or better:
> Is it possible to apply the AccessControl plugin to a layer group?
>
I don't think so, because a group is not a layer and the plugin filter
current implementation works on layers.
Regards.
--
Alessandro Pasotti
QCooperative: www.qcooperative.net
ItOpen: www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210622/bad844b2/attachment.html>
More information about the Qgis-user
mailing list