On Tue, Jun 22, 2021 at 12:47 PM Marco Casalboni <casalbo...@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
_______________________________________________
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

Reply via email to