Re: Allowing John to Drop Triggers On Chad's Tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Allowing John to Drop Triggers On Chad's Tables
Дата
Msg-id 3076346.1615842624@sss.pgh.pa.us
обсуждение исходный текст
Список pgsql-general
Fred Habash <fmhabash@gmail.com> writes:
> Based on my research, There are the options I have identified to allow user
> 'John' to drop a trigger on a table owner by 'Chad' ..

I guess the big-picture question is why do you think you need that?

The separate TRIGGER permission is something we consider obsolescent.
It's difficult to make use of it in any way that isn't tantamount to
giving John the ability to execute arbitrary code as Chad (the next
time Chad does anything with his table).  So while a case could be
made that granting TRIGGER should include the right to alter or drop
existing triggers, it's unlikely that anyone will want to expend effort
in that direction.

            regards, tom lane



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

Предыдущее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: PostgreSQL Replication
Следующее
От: Tom Lane
Дата:
Сообщение: Re: sql3types.h does not include "BigInt"