Re: BUG #14131: BUG, schema owner can drop otheruser's object in it's schema

From: 德哥 <digoal(at)126(dot)com>
To: "Euler Taveira" <euler(at)timbira(dot)com(dot)br>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14131: BUG, schema owner can drop otheruser's object in it's schema
Date: 2016-05-11 00:46:41
Message-ID: 3d76295f.13e5.1549d47b00a.Coremail.digoal@126.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I mean schema owner can drop object in its schema direct, not friendly.

At 2016-05-11 05:21:56, "Euler Taveira" <euler(at)timbira(dot)com(dot)br> wrote:
>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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message John R Pierce 2016-05-11 00:49:45 Re: BUG #14131: BUG, schema owner can drop otheruser's object in it's schema
Previous Message Euler Taveira 2016-05-10 21:21:56 Re: BUG #14131: BUG, schema owner can drop otheruser's object in it's schema