Re: security hook on table creation

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: security hook on table creation
Дата
Msg-id 20100929151356.GA26232@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: security hook on table creation  (KaiGai Kohei <kaigai@kaigai.gr.jp>)
Список pgsql-hackers
KaiGai,

* KaiGai Kohei (kaigai@kaigai.gr.jp) wrote:
> All the existing security checks applies before modifying system catalogs.
>
> At least, I cannot find out any constructive reason why we try to apply
> permission checks on object creation time with different manner towards
> the existing privilege mechanism...

The reason to do it was pretty clear- makes the code flow alot nicer and
make more sense.  The existing checks aren't really doing the same thing
as this one, so I don't see that as a really good reason to contort the
code.  The impression you gave is that you had a security concern
associated with this, if that's the case, please articulate what that
concern is and we can then address it.  If you concern is just about
code clarity and flow, I think I'd have to vote with Robert on this one.
Thanks,
    Stephen

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: git diff --patience
Следующее
От: Tom Lane
Дата:
Сообщение: Re: operator dependency of commutator and negator