Re: inconsistent owners in newly created databases?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: inconsistent owners in newly created databases?
Дата
Msg-id 7870.1083678462@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: inconsistent owners in newly created databases?  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: inconsistent owners in newly created databases?
Список pgsql-hackers
Fabien COELHO <coelho@cri.ensmp.fr> writes:
> I was thinking about something fuzzy enough as:

> UPDATE pg_catalog.pg_namespace
> SET nspowner=datdba, nspacl=NULL -- NULL means default rights...

> The later is simple and makes sense anyway for a newly created database.

No, I don't think it does.  The DBA presently can set up a site-wide
policy about use of "public" by altering its permissions in template1.
For example, he might revoke create access from most users.  People will
be surprised if that fails to carry over to created databases.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: The features I'm waiting for.
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: inconsistent owners in newly created databases?