Re: permission issue

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: permission issue
Дата
Msg-id 20051119103859.GC8630@svana.org
обсуждение исходный текст
Ответ на permission issue  (Rikard Pavelic <rikard.pavelic@zg.htnet.hr>)
Список pgsql-general
On Sat, Nov 19, 2005 at 09:35:18AM +0100, Rikard Pavelic wrote:
> Recently I saw that there are many changes regarding stored procedures and
> I like all of them, but I have a problem with permission issue.
> If I grant execution right on function to some user or group PostgreSQL
> is unable
> to execute this function unless it has all the necessary rights (select,
> insert,...)
> on all of the objects it (function) uses.

Look in the documentation about SECURITY DEFINER.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: implicit index created, do I need to also create an explicit index?
Следующее
От: Tino Wildenhain
Дата:
Сообщение: Re: Createlang plpgsql