Re: [SQL] Foreign keys breaks tables permissions
Jan Wieck <wieck@debis.com>
From: wieck@debis.com (Jan Wieck)
To: Raul Chirea <raul@brahms.ro>
Cc: pgsql-bugs@postgresql.org, pgsql-sql@postgresql.org
Date: 2000-04-12T12:25:49Z
Lists: pgsql-bugs, pgsql-hackers
>
> 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) #