Re: Privileges and inheritance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Privileges and inheritance
Дата
Msg-id 102.1254581122@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Privileges and inheritance  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> So let's get rid of that.  Selecting (or in general, operating) on a
> table with children only checks the privileges on that table, not the
> children.

+1

> We could use a GUC variable to ease the transition, perhaps like
> sql_inheritance = no | yes_without_privileges | yes

If we're gonna do it, let's just do it.  I think adding a GUC just
complicates matters, especially since it would have to be superuser-only
(and thus effectively installation-wide).  There would also be issues
with when it takes effect.  The only simple way to implement this is
going to be to modify the planner's expansion of the range table, but
privilege checks should happen at execution; so the GUC would take
effect at the wrong time.
        regards, tom lane


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

Предыдущее
От: Ian Small
Дата:
Сообщение: fuzzystrmatch patch Alphagram based fuzzy string matching
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: [PATCH] DefaultACLs