Re: grant all privileges on database - Mailing list pgsql-general

From Tony Caduto
Subject Re: grant all privileges on database
Date
Msg-id 45806A7D.7070305@amsoftwaredesign.com
Whole thread Raw
In response to grant all privileges on database  (developer@wexwarez.com)
List pgsql-general
developer@wexwarez.com wrote:
> grant all privileges on database test to auser
>
> As far as I can tell this does nothing.  Intuitively this command suggests
> that the auser would be able to access and modify the database test in
> anyway.  It would also suggest that as new tables for the database auser
> would automatically have access to them.
>
>
It just grants all privileges  for a database object to auser.

You should check out the grant manager in Lightning Admin for
Postgresql, it visually shows everything and makes
it a bitter easier to see how it works.

http://www.amsoftwaredesign.com/onlinehelp/pgla/grant_manager.htm

In the screenshot the cells that are green are the ones that can be set
for a particular object, and for a database it's just
two.  So the grant statement you used above did indeed do something, but
only for a database object.

Hope this helps.

Later,

--
Tony Caduto
AM Software Design
http://www.amsoftwaredesign.com
Home of PG Lightning Admin for Postgresql
Your best bet for Postgresql Administration
Only $9.99 through January 1st 2007


pgsql-general by date:

Previous
From: Bricklen Anderson
Date:
Subject: Re: plperl exception catching
Next
From: Ben
Date:
Subject: a question for the way-back machine