I'm managing a large QGIS project file that connect to several postgis layers.
Since this QGIS project file is used by many people, we set up a authentication config using the QGIS authentication system. Each layer of the project comes with an authentication number (let's say 1111111).
Whenever I need to add a new layer to this project, I have to manually enter the authentification number in the project file. So I edit the .qgs project file with a text editor and add
authcfg=1111111 in 2 places, first in the
<layer-tree-layer>layer definition and then in the
I find this quite cumbersome and I'd like my customers could do it by themselves without editing the qgs project file or using pyqgis. Is there a graphical user interface way to add this
authcfg=1111111 in any layer of a QGIS project?
When looking at the layer properties, we can see this information (in the Information tab, for instance dbname='mydb' host=xxx.xxx.xxx.xxx port=5432 sslmode=disable authcfg=1111111 key='layer' srid=31370 type=Polygon checkPrimaryKeyUnicity='1' table="carto"."layer" (geom)) but there is no way to edit it.