Re: Row-based authorization

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Row-based authorization
Дата
Msg-id 20061205222501.GA10873@wolff.to
обсуждение исходный текст
Ответ на Row-based authorization  ("Thiago Silva" <thiago.silva@kdemail.net>)
Список pgsql-general
On Tue, Dec 05, 2006 at 12:52:15 -0200,
  Thiago Silva <thiago.silva@kdemail.net> wrote:
>
> I was wondering if PostgreSQL authorization rules can be aplied on
> specific rows of a given table. I mean, AFAIK the GRANT statement
> cannot be used for such purpose.

You can do this kind of thing using a view that joins a column in the
table to current_user. You would probably want some other table which
maps something in this extra column to authorized users (unless each
row is only going to be accessible to one user).

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: [ANNOUNCE] PostgreSQL 8.2 Now Available
Следующее
От: Ragnar
Дата:
Сообщение: Re: Anything I can do to speed up this query?