Re: Permission Read Only User - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Permission Read Only User
Date
Msg-id ddb43eb9-a4a3-f2a1-0879-876387a9d7f3@aklaver.com
Whole thread Raw
In response to Permission Read Only User  (Sathish Kumar <satcse88@gmail.com>)
Responses Re: Permission Read Only User  (Ron <ronljohnsonjr@gmail.com>)
List pgsql-general
On 3/15/19 4:37 PM, Sathish Kumar wrote:
> Hi All,
> 
> I have created a read only user to perform select statements on our 
> database but whenever we create new tables on the database this user is 
> unable to view it unless I grant select again for this table. Is there a 
> way I can make select as default permission for this user so that in 
> future if I create any new tables, it will be still accessible.

Maybe this?:

https://www.postgresql.org/docs/11/sql-alterdefaultprivileges.html


-- 
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Conditional INSERT
Next
From: Ken Tanzer
Date:
Subject: Re: Conditional INSERT