Re: Question about schema-level permissions

From: Christophe Pettus <xof(at)thebuild(dot)com>
To: Mike Christensen <mike(at)kitchenpc(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Question about schema-level permissions
Date: 2012-05-11 04:38:24
Message-ID: 9DC07EA0-80D8-44BF-863C-88BEBB30BDE5@thebuild.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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. What you are looking for is:

GRANT ALL ON ALL TABLES IN SCHEMA Indexer TO Indexer;

--
-- Christophe Pettus
xof(at)thebuild(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Christensen 2012-05-11 04:52:13 Re: Question about schema-level permissions
Previous Message Mike Christensen 2012-05-11 04:16:49 Question about schema-level permissions