pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nicolas Paris <nicolas.paris@riseup.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Default Privilege Table ANY ROLE
Date: Wed, 14 Nov 2018 22:10:00 +0100
Message-ID: <20181114210746.jojpcnpq4lwdmliz@riseup.net> (raw)
In-Reply-To: <12333.1542228819@sss.pgh.pa.us>
References: <20181114141608.ryvolxl7v7z2grzi@riseup.net>
	<306e4be880a264c701be5dfa667a1e95de76e175.camel@cybertec.at>
	<20181114202055.a23bgy354qnmo7jn@riseup.net>
	<12333.1542228819@sss.pgh.pa.us>

On Wed, Nov 14, 2018 at 03:53:39PM -0500, Tom Lane wrote:
> Maybe I'm missing something, but doesn't this solve your problem
> as stated?
> 
> ALTER DEFAULT PRIVILEGES IN SCHEMA myschema GRANT SELECT ON TABLES TO public;


Not sure that's equivalent to what I am looking for below (but is not allowed):

> ALTER DEFAULT PRIVILEGES  FOR  ROLE  *.* IN SCHEMA "myschema" GRANT  select ON TABLES TO "myuser"

-- 
nicolas




view thread (11+ messages)  latest in thread

Message-ID: <20181114210746.jojpcnpq4lwdmliz@riseup.net>
Permalink:  ../20181114210746.jojpcnpq4lwdmliz@riseup.net/
Also on:    postgresql.org/message-id/20181114210746.jojpcnpq4lwdmliz@riseup.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: nicolas.paris@riseup.net
  Subject: Re: Default Privilege Table ANY ROLE
  In-Reply-To: <20181114210746.jojpcnpq4lwdmliz@riseup.net>
  References: <20181114141608.ryvolxl7v7z2grzi@riseup.net> <306e4be880a264c701be5dfa667a1e95de76e175.camel@cybertec.at> <20181114202055.a23bgy354qnmo7jn@riseup.net> <12333.1542228819@sss.pgh.pa.us> <20181114210746.jojpcnpq4lwdmliz@riseup.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox