Re: Extension security improvement: Add support for extensions with an owned schema

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Extension security improvement: Add support for extensions with an owned schema
Дата
Msg-id CA+TgmoYDdYA1paUKtfHfx-iDdCKrL05m2OwPHz7SQ03t49f2oQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Extension security improvement: Add support for extensions with an owned schema  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Mon, Aug 11, 2025 at 1:55 PM Robert Haas <robertmhaas@gmail.com> wrote:
> [ some review ]

Another thing that's occurring to me here is that nothing prevents
other objects from making their way into the owned schema. Sure, if we
create a new schema with nobody having any permissions, then only the
creating role or some role that has its privileges can add anything in
there. But that could happen by accident, or privileges could later be
granted and somebody could add something into the extension schema
after that. I wonder whether we should lock this down tighter somehow
and altogether forbid creating objects in that schema except from an
extension create/upgrade script for the owning extension.

--
Robert Haas
EDB: http://www.enterprisedb.com



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