Re: Proposal: access control jails (and introduction as aspiring GSoC student)

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Proposal: access control jails (and introduction as aspiring GSoC student)
Дата
Msg-id 20100322140357.GU21875@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Proposal: access control jails (and introduction as aspiring GSoC student)  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Proposal: access control jails (and introduction as aspiring GSoC student)
Список pgsql-hackers
* Robert Haas (robertmhaas@gmail.com) wrote:
> Sometimes it would be nice to conditionalize queries on a value other
> than the authenticated role.  I really wish we had some kind of SQL
> variable support.  Talking out of my rear end:

I certainly agree- having variable support in the backend would
definitely be nice.  I'd want it to be explicit and distinct from GUCs
though, unlike the situation we have w/ psql right now.  All that said,
I'm not really a huge fan of write-your-own-authorization-system in
general.  If the existing authorization system isn't sufficient for what
you want, then let's improve it.  There may be specific cases where
what's needed is particularly complex, but that's what security definer
functions are for..
Thanks,
    Stephen

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Comments on Exclusion Constraints and related datatypes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Comments on Exclusion Constraints and related datatypes