From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paul Lambert <paul.lambert@reynolds.com.au>
Cc: pgsql admin <pgsql-admin@postgresql.org>
Subject: Re: Schema security
Date: Thu, 13 Dec 2007 00:35:42 -0500
Message-ID: <3212.1197524142@sss.pgh.pa.us> (raw)
In-Reply-To: <4760905F.2020406@reynolds.com.au>
References: <4760905F.2020406@reynolds.com.au>
Paul Lambert <paul.lambert@reynolds.com.au> writes:
> I would have thought giving the user all privileges on a schema would by
> default add them to all objects within it,
Why would you think that?
The analogy to think about is that usage privilege on a schema is
comparable to read access on a directory. That doesn't necessarily give
you access to any single file in the directory --- but lack of it does
ensure you cannot get to those files.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, paul.lambert@reynolds.com.au
Subject: Re: Schema security
In-Reply-To: <3212.1197524142@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox