Re: Row-Trigger implicitly allows users ACL_SELECT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Row-Trigger implicitly allows users ACL_SELECT
Дата
Msg-id 6688.1236861936@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Row-Trigger implicitly allows users ACL_SELECT  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Ответы Re: Row-Trigger implicitly allows users ACL_SELECT
Список pgsql-hackers
KaiGai Kohei <kaigai@ak.jp.nec.com> writes:
> * Row-Update/Delete trigger mechanism allows user defined triggers
>   to refer the older tuple updated/deleted.
> * The ACL_TRIGGER privilege allows normal users to set up triggers
>   on the relation allowed.

> It means someone with ACL_TRIGGER can set up a trigger which write
> out the given older tuple into somewhere.
> In logically, it also means users with ACL_TRIGGER and either of
> ACL_UPDATE or ACL_DELETE are allowed to read the table without
> ACL_SELECT permission.

Granting TRIGGER privilege already implies an exceedingly high trust
level, since a trigger can do arbitrary damage to your data.  I don't
find this concern interesting, and your solution wouldn't work anyway
(AFAICS it would check the permissions of the user doing the UPDATE,
not those of the user who created the trigger).
        regards, tom lane


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

Предыдущее
От: Vlad Arkhipov
Дата:
Сообщение: Re: View running statements
Следующее
От: KaiGai Kohei
Дата:
Сообщение: Re: Row-Trigger implicitly allows users ACL_SELECT