[Qgis-user] User setup for PostGres/PostGis use with QGIS

Michael Dufty MDufty at mbsenvironmental.com.au
Sat Apr 25 03:23:06 PDT 2020


I'm looking at setting up a postGIS server for use to store mapping files to use with QGIS.
We have about a dozen users who will all need to be able to edit layers and save new layers to the server, and any new layers they create need to be editable by other users.

Can anyone advise if having everyone use the same user account would be a good idea?  Since everyone will have the same privileges this would seem to simplify setup.  Often there will be different people editing the same QGIS project at different times, and I think it would help with that, although it looks like we would need to use the same id for the authentication on every computer if we don't want password prompts all the time.  I'm just concerned this may cause issues with the server if the same user account is accessing the database from different locations at the same time.

As I understand it the alternative would be to create a role that all accounts are members of, and alter the default privileges for each account so the role gets access to any new tables created, which would be a bit of a pain to set up for lots of accounts, but probably OK.

I have struggled with this in the past, and the consultant who set up a similar server for us in  the past to use with Manifold gave up on getting permissions to work and just made every account a superuser.  This doesn't seem ideal, but hasn't caused any issues in over 10 years.


Michael Dufty

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200425/ba9fc1b3/attachment.html>


More information about the Qgis-user mailing list