Re: [PATCH] DefaultACLs - Mailing list pgsql-hackers

From Cathy Mullican
Subject Re: [PATCH] DefaultACLs
Date
Msg-id a92c54c30909281625x569ce582p2d0aa997c657fdc3@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] DefaultACLs  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers


On 9/28/09, Josh Berkus <josh@agliodbs.com> wrote
> I already mentioned one case that there's longstanding demand for, which
> is to instantiate the correct permissions on new partition child tables.

Wouldn't that be handled by inheritance?

I wish, but no:
http://www.postgresql.org/docs/current/interactive/ddl-inherit.html
The first paragraph under "5.8.1 Caveats":
Table access permissions are not automatically inherited. Therefore, a user attempting to access a parent table must either have permissions to do the same operation on all its child tables as well, or must use the ONLY notation. When adding a new child table to an existing inheritance hierarchy, be careful to grant all the needed permissions on it.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] DefaultACLs
Next
From: Tom Lane
Date:
Subject: Re: Rejecting weak passwords