| От | Tom Lane |
|---|---|
| Тема | Re: permissions bug in RI checks? |
| Дата | |
| Msg-id | 25665.1283355898@sss.pgh.pa.us обсуждение |
| Ответ на | permissions bug in RI checks? (David Christensen <david@endpoint.com>) |
| Список | pgsql-hackers |
David Christensen <david@endpoint.com> writes:
> In doing a schema upgrade, we noticed the following behavior, which certainly seems like a bug. Steps to reproduce:
> ...
> The bug in this case is that "b" has full permissions on all of the
> underlying tables, but runs into issues when trying to access the
> referenced tables.
Permissions checks for RI operations involve the owner of the table,
from whom you've revoked all permissions. If the RI operations were
done as the caller, as you seem to expect, that would *not* be an
improvement; callers would have to have more privileges than one really
wants.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера