Re: BUG #12939: GRANT ALL ON ALL SEQUENCES doesn't work for sequences not yet existing

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #12939: GRANT ALL ON ALL SEQUENCES doesn't work for sequences not yet existing
Date: 2015-04-02 18:01:23
Message-ID: 551D83F3.9060500@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


> * Hale, Tyler (Tyler(dot)Hale(at)capitalone(dot)com) wrote:
>> >Thanks for the insight Stephen. Do you know if this type of functionality is only limited to sequences or all types of database objects? I am relatively new to Postgres and am trying to come up with rules/best practices for my team to use when deploying new structures on Postgres.

best practices IMHO are to include the GRANT's with the CREATE
statements. grant permissions to groups rather than specific roles,
and make the user roles members of those groups.

--
john r pierce, recycling bits in santa cruz

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message robert.uradin 2015-04-02 20:36:36 BUG #12950: Update problem
Previous Message Stephen Frost 2015-04-02 17:56:39 Re: BUG #12939: GRANT ALL ON ALL SEQUENCES doesn't work for sequences not yet existing