Re: Row-level permissions?

From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: gvim <gvimrc(at)gmail(dot)com>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Row-level permissions?
Date: 2010-12-30 16:11:31
Message-ID: AANLkTinwPvUNvJ3ZMZm3_939bCT4e8eCRyip3H0djO+O@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Dec 30, 2010 at 7:30 AM, gvim <gvimrc(at)gmail(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message pasman pasmański 2010-12-30 16:15:01 Cursors WITH HOLD
Previous Message Szymon Guz 2010-12-30 15:33:16 Re: Row-level permissions?