Re: [PATCH] DefaultACLs

Поиск
Список
Период
Сортировка
От Cathy Mullican
Тема Re: [PATCH] DefaultACLs
Дата
Msg-id a92c54c30909281625x569ce582p2d0aa997c657fdc3@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] DefaultACLs  (Josh Berkus <josh@agliodbs.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] DefaultACLs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Rejecting weak passwords