Re: "Freezing" per-role settings

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: "Freezing" per-role settings
Дата
Msg-id 1283888511.18891.42.camel@jdavis-ux.asterdata.local
обсуждение исходный текст
Ответ на "Freezing" per-role settings  (David Fetter <david@fetter.org>)
Ответы Re: "Freezing" per-role settings  (David Fetter <david@fetter.org>)
Список pgsql-hackers
On Tue, 2010-09-07 at 11:39 -0700, David Fetter wrote:
> We'd like to create a role called read_only, with eponymous
> capability.

Seems useful.

> If so, is it more
> DCL-ish, or more DDL-ish?

I don't like the idea of a security model relying on the ability (or
lack thereof) to set GUCs. Imagine the effects of adding new GUCs,
removing old ones, changing a GUC name, or tweaking the behavior
slightly. It makes more sense to tie it to the role directly, so DDL.

Also, you should put this in the context of previous discussions, which
lead to the "ON ALL TABLES IN SCHEMA" feature in 9.0. In particular,
that feature only affects existing objects, and you are trying to create
some kind of permissions mask which will affect new objects, as well.

Regards,Jeff Davis



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: UTF16 surrogate pairs in UTF8 encoding
Следующее
От: marcin mank
Дата:
Сообщение: Re: Synchronization levels in SR