| От | Cédric Dufour (public) |
|---|---|
| Тема | Grant execute on functions; related objects permissions ? |
| Дата | |
| Msg-id | 000401c2b56c$1c1419d0$3c8addd5@cednetwork.net обсуждение |
| Список | pgsql-sql |
Hello, PostgreSQL 7.3 happily introduced permissions on functions. Now, having granted execution to a given function to a given user, I find myself with "access denied" errors on the objects that the function actually uses (e.g. a table on which it makes a select). So: 1. Am I missing something about how the GRANT ... ON FUNCTION works ? 2. Is there any way to automatically obtain privileges on the objects the function uses, without having to GRANT specific permissions on those object (the same way it works on MS-SQL) ? 3. Am I following the wrong direction (I understand question 2. might actually introduce a permission "hole" on the objects that functions might use; a user might obtain access to these objects through defining its own function, am I right ?) ? Thank you for you help, Cédric Dufour - Cogito Ergo Soft _____ Cogito Ergo Soft - Your think partner
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера