pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Louis Battuello <louis.battuello@etasseo.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Foreign Key Validation after Reference Table Ownership Change
Date: Wed, 21 Mar 2018 13:18:58 -0400
Message-ID: <3DCEDEC7-0045-43D8-8D4F-9723F5DC7FEE@etasseo.com> (raw)
In-Reply-To: <CAKFQuwadYCNkn-q_OMHAVx=sSaTHyPbJLvxZgTo6j8w-FJ9HoA@mail.gmail.com>
References: <CAKFQuwZwsSAkGX+9EYwUH0bZ5eXcJ8UDy=TNc1GpHoi2=Qh_Qw@mail.gmail.com>
	<20180321083033.f495bf0537e129b62c3edf58e37f64ff.23347c6e15.mailapi@email02.godaddy.com>
	<CAKFQuwadYCNkn-q_OMHAVx=sSaTHyPbJLvxZgTo6j8w-FJ9HoA@mail.gmail.com>

Agreed. It would certainly make sense that user_2 have usage on the schema in order to operate against the table owned by user_2. I just found it confusing that the discrepancy would cause an issue for user_1, which had all necessary privileges on the schema and references on the reference table. Why would an issue with user_2’s ACL manifest itself with a foreign key validation on insert by user_1 on a table owned by user_1?




view thread (11+ messages)  latest in thread

Message-ID: <3DCEDEC7-0045-43D8-8D4F-9723F5DC7FEE@etasseo.com>
Permalink:  ../3DCEDEC7-0045-43D8-8D4F-9723F5DC7FEE@etasseo.com/
Also on:    postgresql.org/message-id/3DCEDEC7-0045-43D8-8D4F-9723F5DC7FEE@etasseo.com

 · 

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-general@postgresql.org
  Cc: louis.battuello@etasseo.com, david.g.johnston@gmail.com
  Subject: Re: Foreign Key Validation after Reference Table Ownership Change
  In-Reply-To: <3DCEDEC7-0045-43D8-8D4F-9723F5DC7FEE@etasseo.com>
  References: <CAKFQuwZwsSAkGX+9EYwUH0bZ5eXcJ8UDy=TNc1GpHoi2=Qh_Qw@mail.gmail.com> <20180321083033.f495bf0537e129b62c3edf58e37f64ff.23347c6e15.mailapi@email02.godaddy.com> <CAKFQuwadYCNkn-q_OMHAVx=sSaTHyPbJLvxZgTo6j8w-FJ9HoA@mail.gmail.com> <3DCEDEC7-0045-43D8-8D4F-9723F5DC7FEE@etasseo.com>

* 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