pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: wieck@debis.com
To: Raul Chirea <raul@brahms.ro>
Cc: pgsql-bugs@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] Foreign keys breaks tables permissions
Date: Wed, 12 Apr 2000 14:25:49 +0200 (CEST)
Message-ID: <m12fMDN-0003lFC@orion.SAPserv.Hamburg.dsh.de> (raw)
In-Reply-To: <38F3E447.6C87FDDE@brahms.ro>

>
> Hi,
>
> If one does:
>
> [...]
>  grant select on master to a_user;
>  grant select, insert, update, delete on detail to a_user;
>
> then if login as "a_user" and does:
>
>   insert into detail (id, master_id) values (1, 10);
>
> this will result in: "ERROR:   master: Permission denied".
>
> This seems a bug to me ? Isn't it ?

Outch,

    yes,  we  missed  something  here.  Peter,  you  said  you'll
    probably work  on  the  ACL  stuff  after  7.0.  We  need  to
    coordinate that work with the function manager redesign to go
    for SETUID triggers and functions.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#========================================= wieck@debis.com (Jan Wieck) #





view thread (13+ messages)  latest in thread

Message-ID: <m12fMDN-0003lFC@orion.SAPserv.Hamburg.dsh.de>
Permalink:  ../m12fMDN-0003lFC@orion.SAPserv.Hamburg.dsh.de/
Also on:    postgresql.org/message-id/m12fMDN-0003lFC@orion.SAPserv.Hamburg.dsh.de

 · 

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-sql@postgresql.org
  Cc: wieck@debis.com, raul@brahms.ro, pgsql-bugs@postgresql.org
  Subject: Re: [SQL] Foreign keys breaks tables permissions
  In-Reply-To: <m12fMDN-0003lFC@orion.SAPserv.Hamburg.dsh.de>
  References: <38F3E447.6C87FDDE@brahms.ro> <m12fMDN-0003lFC@orion.SAPserv.Hamburg.dsh.de>

* 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