| От | Bruno Wolff III |
|---|---|
| Тема | Re: Function Permissions |
| Дата | |
| Msg-id | 20031025181803.GA15088@wolff.to обсуждение исходный текст |
| Ответ на | Function Permissions ("Telecontrol Networking" <pglist@telecontrol.com.br>) |
| Список | pgsql-hackers |
On Sat, Oct 25, 2003 at 15:11:06 -0200, Telecontrol Networking <pglist@telecontrol.com.br> wrote: > Hi, > > I really need that a FUNCTION runs allways with this creator/owner permissions, and not with the user permission. > > In other words, my FUNCTION must execute several procedures as POSTGRES superuser, and the tables its needs access/insert/delete/updatehas no permissions to normal user. Only calling my FUNCTION the normal user can do that, and neverupdating or deleting directly over the tables. > > Any idea ? You can use security definer clause when creating the function.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера