Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

Next:From: pasman pasmaƄskiDate: 2010-12-30 16:15:01
Subject: Cursors WITH HOLD
Previous:From: Szymon GuzDate: 2010-12-30 15:33:16
Subject: Re: Row-level permissions?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group