pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Euler Taveira <euler@timbira.com.br>
To: 德哥 <digoal@126.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14131: BUG, schema owner can drop otheruser's object in it's schema
Date: Tue, 10 May 2016 18:21:56 -0300
Message-ID: <573250F4.6030609@timbira.com.br> (raw)
In-Reply-To: <30bfce8.bdfb.1549b61a771.Coremail.digoal@126.com>
References: <20160510131217.2607.12651@wrigleys.postgresql.org>
	<CAKFQuwaYKC8Kn--A2Hq2PA78XwBhfqd90TQ9qkrCLwu6uUc_kA@mail.gmail.com>
	<30bfce8.bdfb.1549b61a771.Coremail.digoal@126.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 10-05-2016 12:55, 德哥 wrote:
> I think we can improve friendly.  
> like this : 
> drop object direct , if user it's not superuser & owner, then error. 
> and when drop schema or database. 
>
I don't buy that it is an improvement. First, you will break
applications that rely on that behavior since 7.3 (2002). Second, we
have workaround to avoid such DROP occurs -- set a reliable schema owner.


-- 
   Euler Taveira                   Timbira - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (8+ messages)  latest in thread

Message-ID: <573250F4.6030609@timbira.com.br>
Permalink:  ../573250F4.6030609@timbira.com.br/
Also on:    postgresql.org/message-id/573250F4.6030609@timbira.com.br

 · 

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-bugs@postgresql.org
  Cc: euler@timbira.com.br, digoal@126.com, david.g.johnston@gmail.com
  Subject: Re: BUG #14131: BUG, schema owner can drop otheruser's object in it's schema
  In-Reply-To: <573250F4.6030609@timbira.com.br>
  References: <20160510131217.2607.12651@wrigleys.postgresql.org> <CAKFQuwaYKC8Kn--A2Hq2PA78XwBhfqd90TQ9qkrCLwu6uUc_kA@mail.gmail.com> <30bfce8.bdfb.1549b61a771.Coremail.digoal@126.com> <573250F4.6030609@timbira.com.br>

* 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