| От | Bruce Momjian |
|---|---|
| Тема | Re: [HACKERS] Here it is - view permissions |
| Дата | |
| Msg-id | 199802231310.IAA20810@candle.pha.pa.us обсуждение |
| Ответ на | Re: [HACKERS] Here it is - view permissions (Mattias Kregert <matti@algonet.se>) |
| Список | pgsql-hackers |
> > Bruce Momjian wrote: > > > > OK, but why would anyone want the old behavior? > > > > I guess if you have a table that is not select-able by everyone, and you > > create a view on it, the default permits will allow select to others. > > You would have to set the permit on that view. Is there more to that > > pg_class flag you want to add? > > Why does views default to 'select' permission for 'public'? > I think most people will never think of the possibility that others > will be able to SELECT their data through views. > Should not 'create view' at least print a NOTICE about this? All tables are created with default permissions for SELECT to PUBLIC, so views are no different. -- Bruce Momjian maillist@candle.pha.pa.us
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера