Re: User right management concerning functions

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: User right management concerning functions
Дата
Msg-id 20050304144333.GA17492@wolff.to
обсуждение исходный текст
Ответ на User right management concerning functions  ("Christian Hofmann" <christian.hofmann@gmx.de>)
Список pgsql-novice
On Wed, Mar 02, 2005 at 19:44:41 +0100,
  Christian Hofmann <christian.hofmann@gmx.de> wrote:
> Hello,
>
> is it possible to create a postgresql-user without the right to use the SQL
> INSERT command but with the right to call a function that is using some SQL
> INSERT commands?
>
> Is this also possible with the SQL DELETE command?

Yes. You can use the SECURITY DEFINER property of functions to do this.

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

Предыдущее
От: "Pradeepkumar, Pyatalo (IE10)"
Дата:
Сообщение: Help on Trigger functions
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Import csv file into multiple tables in Postgres