Re: TODO item: set proper permissions on non-system schemas - Mailing list pgsql-hackers

From Tom Lane
Subject Re: TODO item: set proper permissions on non-system schemas
Date
Msg-id 3201.1125594811@sss.pgh.pa.us
Whole thread Raw
In response to Re: TODO item: set proper permissions on non-system schemas  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> Change the ownership of public in template1 to be a "dbadmin" group.
>> Grant membership in "dbadmin" to all the DB owners.  End of problem.

> Won't that suddenly grant the owner of foo_db  dbadmin rights in bar_db? 
> That seems to violate the principle of least surprise.

I'm assuming here that the various dbowners aren't even allowed to
connect to each others' databases.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Remove xmin and cmin from frozen tuples
Next
From: Steve Atkins
Date:
Subject: Re: Call for 7.5 feature completion