Re: Row-level permissions? - Mailing list pgsql-general

From Richard Broersma
Subject Re: Row-level permissions?
Date
Msg-id AANLkTinwPvUNvJ3ZMZm3_939bCT4e8eCRyip3H0djO+O@mail.gmail.com
Whole thread Raw
In response to Row-level permissions?  (gvim <gvimrc@gmail.com>)
List pgsql-general
On Thu, Dec 30, 2010 at 7:30 AM, gvim <gvimrc@gmail.com> wrote:
> I want a user to be able to INSERT new rows but not UPDATE or
> DELETE rows ...

This part is easily done:
http://www.postgresql.org/docs/9.0/interactive/sql-grant.html
http://www.postgresql.org/docs/9.0/interactive/sql-revoke.html
http://www.postgresql.org/docs/9.0/interactive/sql-createrole.html

>... with `id` < 1616.

This cannot be done using ordinary DDL.

--
Regards,
Richard Broersma Jr.

pgsql-general by date:

Previous
From: Szymon Guz
Date:
Subject: Re: Row-level permissions?
Next
From: pasman pasmański
Date:
Subject: Cursors WITH HOLD