| От | Olleg Samoylov |
|---|---|
| Тема | Re: BUG #1610: rewrite rule and sequence |
| Дата | |
| Msg-id | 42689AA6.6080007@mipt.ru обсуждение исходный текст |
| Ответ на | Re: BUG #1610: rewrite rule and sequence (Richard Huxton <dev@archonet.com>) |
| Список | pgsql-bugs |
Richard Huxton wrote: > That's not a bug, it's a feature (as they say). I suppose you could > argue that a sequence only used by one table could inherit that > table's permissions by default, but I can see problems when people > reorder GRANT statements. > > HTH It's not feature, it's bug. From postgresql documentation 33.4. Rules and Privileges: <quote> Relations that are used due to rules get checked against the privileges of the rule owner, not the user invoking the rule. This means that a user only needs the required privileges for the tables/views that he names explicitly in his queries.</quote> This dont' true for tables with serial fields. -- Olleg Samoylov
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера