Re: Read only access, via functions only

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Read only access, via functions only
Дата
Msg-id 1225929198.22001.144.camel@jd-laptop.pragmaticzealot.org
обсуждение исходный текст
Ответ на Read only access, via functions only  ("Webb Sprague" <webb.sprague@gmail.com>)
Ответы Re: Read only access, via functions only  ("Webb Sprague" <webb.sprague@gmail.com>)
Список pgsql-general
On Wed, 2008-11-05 at 15:46 -0800, Webb Sprague wrote:
> Hi all
>
> Is there a away to set up a schema such that a certain role has (1)
> read only access to (2) all the tables, but (3) must use predefined
> functions to use that access?

you can set transactions read only but the user can turn them off. Use
views, functions and GRANT.

Joshua D. Drake

--


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

Предыдущее
От: ries van Twisk
Дата:
Сообщение: Re: Read only access, via functions only
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How to use index in WHERE int = float