Skip site navigation (1) Skip section navigation (2)

Re: REVOKE not working...

From: "Scott Marlowe" <smarlowe(at)qwest(dot)net>
To: "Joe Maldonado" <jmaldonado(at)webehosting(dot)biz>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: REVOKE not working...
Date: 2004-10-20 15:45:20
Message-ID: 1098287120.21035.47.camel@localhost.localdomain (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
On Wed, 2004-10-20 at 08:17, Joe Maldonado wrote:
> Hello all,
>     I have created users for which I have restricted access to SELECT 
> from a set of tables, this works :)
>     But when I issue a REVOKE CREATE ON DATABASE mydb FROM myuser;
> The user can still create tables...I've also issued this command for the 
> SCHEMA and still no go.
> Is this a known problem, if so how can I restrict users from creating 
> objects in my db?

Is myuser a superuser?  If so, you can revoke all you want and he'll
still be able to do anything he wants.  Also, I think that if myuser
owns the current database he can always create tables in it.

In response to


pgsql-admin by date

Next:From: Chris White (cjwhite)Date: 2004-10-20 18:57:19
Subject: Need help
Previous:From: Christian FowlerDate: 2004-10-20 15:45:17
Subject: Re: large dumps won't restore

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group