[Lizmap] How to send current login User-ID to PostgreSQL

Paolo Cavallini cavallini at faunalia.it
Mon Feb 24 02:05:55 PST 2020


Hi all,
I've unclear how to send current Lizmap user to PostgreSQL. I followed:
https://docs.lizmap.com/current/en/publish/advanced_lizmap_config.html#examples
adding form_variables.js to media/js/default
however, I do not know how to activate this for a specific table/field.
Simply adding
   rilevatore: 'lizmap_user_login'
where rilevatore is the name of the field of one table does not work.
Can I have a more detailed example?
Thanks in advance.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS.ORG Chair:
http://planet.qgis.org/planet/user/28/tag/qgis%20board/


More information about the Lizmap mailing list