GRANTing privileges to a plpgsql function doesn't give required result (pg 7.3.4)
В списке pgsql-general по дате отправления:
| От | Greg |
|---|---|
| Тема | GRANTing privileges to a plpgsql function doesn't give required result (pg 7.3.4) |
| Дата | |
| Msg-id | 004c01c3fa64$d321b0e0$c53f5ec0@aarnetgw обсуждение исходный текст |
| Ответы |
Re: GRANTing privileges to a plpgsql function doesn't give required result (pg 7.3.4)
Re: GRANTing privileges to a plpgsql function doesn't |
| Список | pgsql-general |
Hi, I'm implementing a database with very 'restrictive' privileges. However I've hit a dead end trying to solve one issue. When GRANTing execute to a plpgsql function it appears to run with the priviledge of the user and NOT with the priviledges of the owner of the function. This is causing a problem as within the function an insertion into a table owned by the function owner is required. It's not acceptable to grant INSERT on this table for the function executor as the whole point is about controlling access to the table within the function. Does anyone have any suggestions as to what I may be doing wrong? (Or how can I do it better?) This is with postgresql 7.3.4 Many thanks, -Greg --
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера