Re: permissions on inherited tables - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: permissions on inherited tables
Date
Msg-id dcc563d10906171500i54ca388dgb3ac8ad3a8e6f145@mail.gmail.com
Whole thread Raw
In response to permissions on inherited tables  (Anj Adu <fotographs@gmail.com>)
Responses Re: permissions on inherited tables  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
On Wed, Jun 17, 2009 at 3:55 PM, Anj Adu<fotographs@gmail.com> wrote:
> I have a bunch of tables which have child table that are partitions (several
> of them). Is there a way I can create a user with SELECT permissions on the
> parent without having to individually give the same permission on all child
> tables ? Every time I create new partitions..I have to explicitly grant
> permissions on the child tables. I use postgres 8.1.9. Is there a plan to
> fix this in a future release.

I believe that strictly speaking, it's not considered broken.  Would
be nice to have a keyword when using inherits that would inherit the
perms as well though.  So, "inherits (parent) with perms" or something
like that.  Just a thought.

pgsql-admin by date:

Previous
From: Anj Adu
Date:
Subject: permissions on inherited tables
Next
From: Tom Lane
Date:
Subject: Re: permissions on inherited tables