Re: [SQL] Foreign keys breaks tables permissions

From: wieck(at)debis(dot)com (Jan Wieck)
To: Raul Chirea <raul(at)brahms(dot)ro>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] Foreign keys breaks tables permissions
Date: 2000-04-12 12:25:49
Message-ID: m12fMDN-0003lFC@orion.SAPserv.Hamburg.dsh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-sql

>
> 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(at)debis(dot)com (Jan Wieck) #

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kardos, Dr. Andreas 2000-04-12 13:27:05 Re:
Previous Message Jan Wieck 2000-04-12 12:12:21 Re: postgresql rule bug

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-04-13 02:04:47 Re: Re: [SQL] Foreign keys breaks tables permissions
Previous Message Raul Chirea 2000-04-12 02:49:44 Foreign keys breaks tables permissions

Browse pgsql-sql by date

  From Date Subject
Next Message Kardos, Dr. Andreas 2000-04-12 15:47:17 Re: [HACKERS] SQL92 specification ....
Previous Message Drew Whittle 2000-04-12 10:39:44 Re: DBD::ODBC for Linux