Re: Schemas and access - Mailing list pgsql-general

From Tom Lane
Subject Re: Schemas and access
Date
Msg-id 14504.1056321677@sss.pgh.pa.us
Whole thread Raw
In response to Schemas and access  (felix-lists@crowfix.com)
List pgsql-general
felix-lists@crowfix.com writes:
>     joebob=> select * from xyzzy.plugh;
>     ERROR:  xyzzy: permission denied
> It sure looks like the schema itself is invisible to MaryJo, but
> MaryJo can run \dt xyzzy.* perfectly fine.

You need to grant USAGE permission on the schema to MaryJo.

We've seen this mistake often enough that I wonder if maybe schemas
should default to granting USAGE permission to public ...

            regards, tom lane

pgsql-general by date:

Previous
From:
Date:
Subject: Re: Schemas and access
Next
From: Tom Lane
Date:
Subject: Re: Aggregate functions on ordered data?