Re: Question about schema-level permissions - Mailing list pgsql-general

From Mike Christensen
Subject Re: Question about schema-level permissions
Date
Msg-id CABs1bs2jZKoiGwuH2CJ+0NZdDugBKwnffVUWkitqgdaEZTWRuQ@mail.gmail.com
Whole thread Raw
In response to Re: Question about schema-level permissions  (Christophe Pettus <xof@thebuild.com>)
List pgsql-general
Excellent, thanks so much!

Mike

On Thu, May 10, 2012 at 9:38 PM, Christophe Pettus <xof@thebuild.com> wrote:
>
> On May 10, 2012, at 9:16 PM, Mike Christensen wrote:
>> Am I missing something?  Doesn't GRANT ALL mean that user can do
>> anything they want with objects in that schema, including inserts?
>
> No, it means that user has all privileges on *schema itself*; the objects inside of it have their own permissions.
 Whatyou are looking for is: 
>
>        GRANT ALL ON ALL TABLES IN SCHEMA Indexer TO Indexer;
>
> --
> -- Christophe Pettus
>   xof@thebuild.com
>

pgsql-general by date:

Previous
From: Christophe Pettus
Date:
Subject: Re: Question about schema-level permissions
Next
From: "Albe Laurenz"
Date:
Subject: Re: Sequence scan if "OR Condition" in where statement