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

Re: REVOKE not working...

From: Joe Maldonado <jmaldonado(at)webehosting(dot)biz>
To: Scott Marlowe <smarlowe(at)qwest(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: REVOKE not working...
Date: 2004-10-21 16:49:24
Message-ID: 4177E894.4060604@webehosting.biz (view raw or flat)
Thread:
Lists: pgsql-admin
Scott Marlowe wrote:

>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.
>
>
>  
>
myuser is not a superuser.  is the public schema special in that you 
cannot revoke create privileges from users accessing it?

-Joe

>---------------------------(end of broadcast)---------------------------
>TIP 5: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faqs/FAQ.html
>  
>


In response to

Responses

pgsql-admin by date

Next:From: Gaetano MendolaDate: 2004-10-21 17:05:40
Subject: Re: NIC to NIC connection
Previous:From: Jay A. KreibichDate: 2004-10-21 15:10:15
Subject: Re: NIC to NIC connection

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