| От | Jean-Yves F. Barbier |
|---|---|
| Тема | permissions PB |
| Дата | |
| Msg-id | 20110614023929.49b658df@anubis.defcon1 обсуждение исходный текст |
| Ответы |
Re: permissions PB [SOLVED]
|
| Список | pgsql-novice |
Hi list,
The DB owner created a function as:
CREATE FUNCTION mysch.testaddint(int, int)
RETURNS int AS $$ SELECT $1+$2 $$LANGUAGE sql;
When usr1 is granted usage on domain mysch he can execute this function.
(which is strange as owner didn't grant execute on this fnct,
I guess this is default behavior and thus ok.)
Until here, almost no PB, but after owner's:
REVOKE ALL ON FUNCTION mysch.testaddint(int, int) FROM usr1;
usr1 still can execute the function!? (#@<!>&)
Did I missed something somewhere?
JY
--
Brain damage is all in your head.
-- Karl Lehenbauer
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера