Re: Execute function without execute privilege

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Execute function without execute privilege
Дата
Msg-id 24687.1115324661@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Execute function without execute privilege  ("Walker, Jed S" <Jed_Walker@cable.comcast.com>)
Список pgsql-novice
"Walker, Jed S" <Jed_Walker@cable.comcast.com> writes:
> I discovered today that when I create a function in a schema that another
> user has "grant usage" on, they are able to execute the function even though
> I've not granted them "execute" on the function.

> Is this normal behavior (from the manual I don't believe it is)?

Yes, it is, because the default for functions is to grant PUBLIC EXECUTE
access.  Revoke that if you don't want it.

            regards, tom lane

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

Предыдущее
От: "Walker, Jed S"
Дата:
Сообщение: Execute function without execute privilege
Следующее
От: "Cima"
Дата:
Сообщение: downloading files