Re: [HACKERS] Change in "policy" on dump ordering?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Change in "policy" on dump ordering?
Дата
Msg-id 8699.1501083355@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Change in "policy" on dump ordering?  (Jordan Gigov <coladict@gmail.com>)
Список pgsql-hackers
Jordan Gigov <coladict@gmail.com> writes:
> But why should a superuser need the ACL to be applied before being allowed
> access? If you make the permission-checking function check if the user is a
> superuser before looking for per-user grants, wouldn't that solve the issue?

The superuser's permissions are not relevant, because the materialized
view is run with the permissions of its owner, not the superuser.
We are not going to consider changing that, either, because it would open
trivial-to-exploit security holes (any user could set up a trojan horse
matview and just wait for the next pg_upgrade or dump/restore).
        regards, tom lane



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

Предыдущее
От: Kunshchikov Vladimir
Дата:
Сообщение: Re: [HACKERS] [patch] pg_dump/pg_restore zerror() and strerror()mishap
Следующее
От: "Mengxing Liu"
Дата:
Сообщение: [HACKERS] [GSOC] Eliminate O(N^2) scaling from rw-conflict tracking inserializable transactions