Re: Inherit Database - Table Permissions

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Inherit Database - Table Permissions
Date: 2019-05-31 16:26:31
Message-ID: 7df7c54f-fffd-3a84-f824-6c6221f29b9e@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Christopher Browne 2019-05-31 16:33:59 Re: Feature request (or at least discussion): enable autovaccum on temp tables
Previous Message Ivan Voras 2019-05-31 16:25:38 Re: Feature request (or at least discussion): enable autovaccum on temp tables