Re: Simple webuser setup - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: Simple webuser setup
Date
Msg-id 44BD1DA8.13074.2B515B@rod.iol.ie
Whole thread Raw
In response to Re: Simple webuser setup  (msiner@gmail.com)
List pgsql-general
On 17 Jul 2006 at 6:08, msiner@gmail.com wrote:

> I have a db named archive, a schema named library, and a table named
> book.  I have granted USAGE on library to webuser and SELECT on book
> to webuser.  When I try to do a select I get an error saying
> "permission denied for schema library".  I have tried every combination

How are you accessing the DB from your web app? What
language/envoronment are you using?

Are you sure that the username/password combination is being passed
along to the DB? - have you tried connecting directly to the DB using
psql, logging in as webuser, and running queries against the DB?

--Ray.


----------------------------------------------------------------------

Raymond O'Donnell
Director of Music, Galway Cathedral, Galway, Ireland
rod@iol.ie
----------------------------------------------------------------------



pgsql-general by date:

Previous
From: "polder_udo"
Date:
Subject: Re: postgreSQL installation
Next
From: "Raymond O'Donnell"
Date:
Subject: Re: Simple webuser setup