Re: [HACKERS] Here it is - view permissions

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Here it is - view permissions
Дата
Msg-id 199802202211.RAA09800@candle.pha.pa.us
обсуждение исходный текст
Ответ на Here it is - view permissions  (jwieck@debis.com (Jan Wieck))
Ответы Re: [HACKERS] Here it is - view permissions
Список pgsql-hackers
>     This  flag is useful anyway. We change the world now that ALL
>     views are overriding the acl checks. If we have this flag  we
>     can  setup  views  that  behave  like before (user cannot see
>     anything through the view he cannot see without) and use  the
>     overriding  only  in  cases  we need it (like for the pg_user
>     permissions problem). I'll work on it.

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?


--
Bruce Momjian
maillist@candle.pha.pa.us

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Brett McCormick
Дата:
Сообщение: Re: [HACKERS] Permissions on copy
Следующее
От: Ryan Kirkpatrick
Дата:
Сообщение: Re: [HACKERS] Who is everyone?