Re: Schema security - Mailing list pgsql-admin

From Tom Lane
Subject Re: Schema security
Date
Msg-id 3212.1197524142@sss.pgh.pa.us
Whole thread Raw
In response to Schema security  (Paul Lambert <paul.lambert@reynolds.com.au>)
Responses Re: Schema security  (Paul Lambert <paul.lambert@reynolds.com.au>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Paul Lambert
Date:
Subject: Re: Schema security
Next
From: "Bansal, Gaurav (Gaurav)"
Date:
Subject: Re: Postgres Start