pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <pgsql@j-davis.com>
To: Keith Fiske <keith@omniti.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7716: Only owner can drop trigger?
Date: Fri, 30 Nov 2012 17:51:02 -0800
Message-ID: <1354326662.1766.127.camel@sussancws0025> (raw)
In-Reply-To: <CAG1_KcBSQbWt6xgVL5rPhBkNhcnwdJQi8uNJNz7fao+Pa+inoA@mail.gmail.com>
References: <E1TeaD4-0004le-Vd@wrigleys.postgresql.org>
	<1354320124.1766.123.camel@sussancws0025>
	<CAG1_KcBSQbWt6xgVL5rPhBkNhcnwdJQi8uNJNz7fao+Pa+inoA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Fri, 2012-11-30 at 20:08 -0500, Keith Fiske wrote:
> So then don't give that other role trigger permissions if you don't
> want them to be able to drop a trigger. I'm actually thankful for the
> trigger permission since it allows the extension I'm working on to
> create triggers on tables the role doesn't own. But now it only
> half-works because it can't clean up after itself when the trigger
> needs to be dropped.

Allowing any user with TRIGGER privileges to drop a trigger seem like a
reasonable change to me. The only alternative I can think of (aside from
dropping the separate TRIGGER privilege) is to track the owner of the
trigger separately from the owner of the table, but that would be
strange, too.

Regards,
	Jeff Davis



-- 
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 (4+ messages)

Message-ID: <1354326662.1766.127.camel@sussancws0025>
Permalink:  ../1354326662.1766.127.camel@sussancws0025/
Also on:    postgresql.org/message-id/1354326662.1766.127.camel@sussancws0025

 · 

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: pgsql@j-davis.com, keith@omniti.com
  Subject: Re: BUG #7716: Only owner can drop trigger?
  In-Reply-To: <1354326662.1766.127.camel@sussancws0025>
  References: <E1TeaD4-0004le-Vd@wrigleys.postgresql.org> <1354320124.1766.123.camel@sussancws0025> <CAG1_KcBSQbWt6xgVL5rPhBkNhcnwdJQi8uNJNz7fao+Pa+inoA@mail.gmail.com> <1354326662.1766.127.camel@sussancws0025>

* 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