Re: [HACKERS] Here it is - view permissions

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Here it is - view permissions
Дата
Msg-id 199802211649.LAA26669@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Here it is - view permissions  (jwieck@debis.com (Jan Wieck))
Ответы Re: [HACKERS] Here it is - view permissions
Список pgsql-hackers
>
>     No,  there  isn't more on that. It's just to be more backward
>     compatible. Users out there  might  have  already  views  and
>     since  it  wasn't neccessary to set explicit permissions on a
>     view up to now (views  inherited  the  permissions  from  all
>     tables  they select), it's unlikely that anyone out there set
>     them up.
>
>     I think it's better to implement something that's  a  key  to
>     open  the  door  instead of opening it by default and telling
>     where's the key to lock it back.

This code is big enough without adding system table columns to allow
backward compatability.  Just tell them as part of the upgrade, they
need to set GRANT/REVOKE on views.  Put it in the /migration files too.

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

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

Предыдущее
От: "Thomas A. Szybist"
Дата:
Сообщение: Re: [PORTS] Sparc/Linux oddity...
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Here it is - view permissions