Re: refint/acl problem - Mailing list pgsql-hackers

From Kovacs Zoltan Sandor
Subject Re: refint/acl problem
Date
Msg-id Pine.LNX.4.05.10006241336160.5015-100000@pc10.radnoti-szeged.sulinet.hu
Whole thread Raw
In response to refint/acl problem  (Kovacs Zoltan Sandor <tip@pc10.radnoti-szeged.sulinet.hu>)
List pgsql-hackers
> Probably the correct way to handle this is to run the foreign key
> constraint trigger as the user who created the constraint (or
> something like that) rather than the user making the insert.  I'm not
> sure how hard that would be.
The problem is that now using both refint and GRANT/REVOKE will not work
together. Only if I have separate areas of tables, I can assure that each
user may work on his own area. But most databases have referencing tables
which parent table is read-only for the simple users and child tables are
read-write for them. My opinion is that it is neccessary to allow such
referencing. If Postgres doesn't support this, almost nobody can use
refint and ACLs together. Performance is also important, I do know...

Regards,
Zoltan



pgsql-hackers by date:

Previous
From: Kovacs Zoltan Sandor
Date:
Subject: Re: problem with ALTER GROUP
Next
From: Peter Eisentraut
Date:
Subject: Re: Makefile.global is kind of a pain