Postresql/postgis/qgis : assign privileges only for access/reading tables ?

From: celati Laurent <laurent(dot)celati(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Postresql/postgis/qgis : assign privileges only for access/reading tables ?
Date: 2021-10-14 09:12:44
Message-ID: CAHByMH3i7qFOk65_O1+hNAP8CowC+DEWUeTFA6fSZ4DhFmwnmw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Good morning,

I work on Postgresql/postgis and Qgis.
I had created a superuser account for me.
In qgis, I can see the postgis schemas and tables and browse the tables
without problem.

This time, i created another simple user account just to be able in qgis
to access and load the table in qgis.
In pgadmin I created a new role with privileges "can login" only.
When i tape :

GRANT SELECT ON ALL TABLES IN SCHEMA TO USER

the request is well recognized and carried out.
But in qgis GIS, I only see the schema structure, I don't see the list of
tables.
Where can the error come from? Have I forgotten something?

Thank you.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Schwan 2021-10-14 09:21:07 RSYNC YUM Mirror for pg14 not available yet
Previous Message Shaozhong SHI 2021-10-14 08:55:14 Re: Fault with initcap