Re: Question: CREATE EXTENSION and create schema permission?

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Question: CREATE EXTENSION and create schema permission?
Дата
Msg-id m2boviwx7m.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на Re: Question: CREATE EXTENSION and create schema permission?  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Ответы Re: Question: CREATE EXTENSION and create schema permission?  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Список pgsql-hackers
Kohei KaiGai <kaigai@kaigai.gr.jp> writes:
> The current implementation set the current user as owner of the new schema.
> The default permission check of schema allows owner to create several kinds
> of underlying objects.
>
> In the result, we may consider a scenario that a user without permissions to
> create new objects possibly get a schema created by CREATE EXTENSION
> that allows him to create new objects (such as table, function, ...).
>
> I don't think it is a desirable behavior. :-(

Agreed,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


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

Предыдущее
От: Kohei KaiGai
Дата:
Сообщение: Re: Question: CREATE EXTENSION and create schema permission?
Следующее
От: Simon Riggs
Дата:
Сообщение: PushActiveSnapshot(GetTransactionSnapshot())