agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Larry Rosenman <ler@lerctr.org>
To: pgsql-sql@postgresql.org
Subject: GRANT SELECT ON ALL TABLES IN SCHEMA... doesn't apply to new tables?
Date: Fri, 14 Dec 2018 20:13:59 -0600
Message-ID: <20181215021359.m4horbexxiai4xez@ler-imac-2.local> (raw)

I have the following grant in effect:
GRANT SELECT ON ALL TABLES IN SCHEMA public TO readonly;

We occasionally add tables to that schema, but the readonly role
can't read them.  

Is this a bug or do I/should I re-issue the GRANT when we add tables?




-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106

Attachments:

  [application/pgp-signature] signature.asc (678B, ../20181215021359.m4horbexxiai4xez@ler-imac-2.local/2-signature.asc)
  download

view thread (5+ messages)  latest in thread

Message-ID: <20181215021359.m4horbexxiai4xez@ler-imac-2.local>
Permalink:  ../20181215021359.m4horbexxiai4xez@ler-imac-2.local/
Also on:    postgresql.org/message-id/20181215021359.m4horbexxiai4xez@ler-imac-2.local

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ler@lerctr.org
  Subject: Re: GRANT SELECT ON ALL TABLES IN SCHEMA... doesn't apply to new tables?
  In-Reply-To: <20181215021359.m4horbexxiai4xez@ler-imac-2.local>

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

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