Re: pre-proposal: permissions made easier - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: pre-proposal: permissions made easier
Date
Msg-id 1246226271.23359.65.camel@jdavis
Whole thread Raw
In response to Re: pre-proposal: permissions made easier  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Sun, 2009-06-28 at 17:23 -0400, Robert Haas wrote:
> I do to some degree share Tom's worry that this is an idiosyncratic
> solution to a tiny subset of the problem space.

I share the concern. However, I don't know if it's a "tiny subset" or
not; I think we'll have to get some feedback from users to really know.

> On the other hand, I
> have to admit I've needed to do this exact thing, so I wrote a script
> to issue the necessary grant statements.  Then I discovered that
> whenever I created any new objects (most frequently drop and recreate
> of any of the relevant views) the permissions got screwed up, so I
> crontabbed the script to run every 20 minutes.  This works, but it
> doesn't bleed elegance.

I have written scripts to handle some of this in the past, and it's
always awkward. That's what made me start thinking about alternatives.

Regards,Jeff Davis



pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: pre-proposal: permissions made easier
Next
From: Stephen Frost
Date:
Subject: Re: pre-proposal: permissions made easier