pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alfonso Peniche <alfonso@iteso.mx>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgresql \z grant question
Date: Mon, 12 Mar 2001 18:16:27 -0600
Message-ID: <3AAD66DB.DE4AF528@iteso.mx> (raw)
References: <200103072037.f27KbiG24996@linda.lfix.co.uk>
	<3AA75C8B.508E184E@inovaction.com>

I believe the only thing you can do is revoke the INSERT permission (after
granting UPDATE), but I don think you can revoke the DELETE permission
since is the same flag as UPDATE.


hicham bouzdad wrote:

> Hi everyone,  and thanks a lot ,
>
> > PostgreSQL access permissions are not yet as extensive as the full SQL
> > spec requires.
>
> > 'w' includes UPDATE and DELETE;
> >  there is no finer-grained permission  available.
>
> if i do  on   (PostgreSQL 7.1beta4 ) :
>       GRANT  UPDATE ON  tabl TO  user;
>
> user can  do  on  tabl  :
>       UPDATE,  but also   DELETE and  INSERT  !
>
> my question is :
>      can i bypass this  limitation ?
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)




view thread (5+ messages)

Message-ID: <3AAD66DB.DE4AF528@iteso.mx>
Permalink:  ../3AAD66DB.DE4AF528@iteso.mx/
Also on:    postgresql.org/message-id/3AAD66DB.DE4AF528@iteso.mx

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: alfonso@iteso.mx
  Subject: Re: Postgresql \z grant question
  In-Reply-To: <3AAD66DB.DE4AF528@iteso.mx>
  References: <200103072037.f27KbiG24996@linda.lfix.co.uk> <3AA75C8B.508E184E@inovaction.com> <3AAD66DB.DE4AF528@iteso.mx>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox