Re: ACLs versus ALTER OWNER - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: ACLs versus ALTER OWNER
Date
Msg-id 40BDEA2C.5000503@familyhealth.com.au
Whole thread Raw
In response to Re: ACLs versus ALTER OWNER  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: ACLs versus ALTER OWNER
Re: ACLs versus ALTER OWNER
List pgsql-hackers
> Well, the spec doesn't have create permissions per se, but they do have
> a "usage" right on domains, and they specify that revoking that results
> in dropping objects:
> 
>          7) For every abandoned domain descriptor DO, let S1.DN be the
>             <domain name> of DO. The following <drop domain statement> is
>             effectively executed without further Access Rule checking:
> 
>               DROP DOMAIN S1.DN CASCADE

Hmmm.  Seems pretty harsh.  But barring us implementing that (I don't 
see it happening for 7.5), just had an idea :)

How about pg_dumpall dumps all users as superusers, and then changes 
them back to what they're supposed to be at the bottom of the script :)

Easy :)

Chris



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Converting postgresql.conf parameters to kilobytes
Next
From: Tom Lane
Date:
Subject: Re: Nested transactions and tuple header info