Re: TODO item: set proper permissions on non-system schemas
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: TODO item: set proper permissions on non-system schemas |
| Дата | |
| Msg-id | 12841.1125586863@sss.pgh.pa.us обсуждение |
| Ответ на | Re: TODO item: set proper permissions on non-system schemas (Andrew - Supernews <andrew+nonews@supernews.com>) |
| Ответы |
Re: TODO item: set proper permissions on non-system schemas
|
| Список | pgsql-hackers |
Andrew - Supernews <andrew+nonews@supernews.com> writes:
> On 2005-09-01, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> There is some merit in the thought that the DB owner should be able to
>> grant and revoke access on the public schema, but that no longer
>> requires ownership, only membership in an appropriate role.
> How would that work without superuser intervention, given that the
> ownership of public would be the same in all databases regardless of
> who created them?
Change the ownership of public in template1 to be a "dbadmin" group.
Grant membership in "dbadmin" to all the DB owners. End of problem.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера