Re: Default Privilege Table ANY ROLE

From: Nicolas Paris <nicolas(dot)paris(at)riseup(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Default Privilege Table ANY ROLE
Date: 2018-11-21 10:02:00
Message-ID: 20181121095919.2sca6uwd5p5g6lwo@riseup.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Nov 16, 2018 at 03:17:59PM -0500, Tom Lane wrote:
> Stephen Frost <sfrost(at)snowman(dot)net> writes:
> > There was much discussion of being able to have 'FOR ALL ROLES' or
> > similar for ALTER DEFAULT PRIVILEGES when it went in, but there was a
> > lot of concern about one user getting to define the default privileges
> > for objects created by some other user.
>
> Yeah, it's hard to see how you could allow such a command to anybody
> but a superuser.
>

I have some applications using specific schema. I don't wan't them to be
superuser, but I wan't them to be able to access any table in that
schema.

Because many users are able to create tables in that schema, I have to
write one ALTER DEFAULT PRIVILEGE foreach user.

Any chance to have superuser per schema ?

--
nicolas

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Devrim Gündüz 2018-11-21 14:01:04 Re: Missing RHEL rpm(pg_catcheck-11) in postgres 11 repo.
Previous Message Mohammed Siddiqui 2018-11-21 06:16:27 ODBC Driver for 9.4