QField icon indicating copy to clipboard operation
QField copied to clipboard

Enabling user/password prompt for postgresql layers

Open dukytony opened this issue 2 years ago • 3 comments

This is more of a feature request post.

  1. open qfield project with online postgresql/postgis layers
  2. A user/password prompt pops up before opening the project
  3. Projects opens the designated layers with the right id user

I set up a multi user GIS using QGIS and postgresq/postgis online layers. The GIS is accessed with QGIS on desktops and Qfield on android tablets for fieldwork.

Each different user has a customized access to each layers via rls policies.

I would like for the users to be able to type their id and password at the opening of the project on qfield so that each user could use any tablets. Also this would save me a lot of time because I wouldnt have to preset the id/password in each qgis/qfield project everytime the project needs an update (forms, style, and so on).

Thanks a lot guys!

dukytony avatar Jan 07 '22 17:01 dukytony

Hello, Would a PR going in this direction be accepted ?

TeoGoddet avatar Mar 14 '24 14:03 TeoGoddet