Editing control by Roles in WFS in QGIS

How can I make layer-level editing settings in Geoserver in the WFS service? I want to limit access to layered editing to a selective group (Role editor), only for this Role. In this case, editing via WFS in Qgis.

Hi Matheus

You can split the access into 2 roles, one applying to the layer(s) and the other applying to the service (editor or read-only):

In Security > Data > apply the layer role to the workspace or layer(s) - only users with this role will be able to access the layer.

In Security > Services > apply 2 rules:

  • wfs.* grants the read access via WFS
  • wfs.Transaction grants the editor access to only those users who have this role.

Don’t forget to switch Services > WFS > Service Level from Basic !

hth

Peter

1 Like

Thank you for your time. It’s worked!

1 Like