Re: Inherit Database - Table Permissions - Mailing list pgsql-general

From Ron
Subject Re: Inherit Database - Table Permissions
Date
Msg-id 7df7c54f-fffd-3a84-f824-6c6221f29b9e@gmail.com
Whole thread Raw
In response to Inherit Database - Table Permissions  (Sathish Kumar <satcse88@gmail.com>)
List pgsql-general
On 5/31/19 11:17 AM, Sathish Kumar wrote:
> Hi Team,
>
> We have a database and keep creating new tables for the requirement.
>
> Every time we have to grant readonly permission to the new tables which 
> are created for the db user. Instead is there a way to inherit privileges. 
> Basically, we have a readonly user, who should run only select statements 
> on existing or nee tables.
>
> Can you help me on how to achieve it.

Maybe granting default privileges is what you need.

-- 
Angular momentum makes the world go 'round.



pgsql-general by date:

Previous
From: Ivan Voras
Date:
Subject: Re: Feature request (or at least discussion): enable autovaccum ontemp tables
Next
From: Christopher Browne
Date:
Subject: Re: Feature request (or at least discussion): enable autovaccum ontemp tables