pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Maldonado <jmaldonado@webehosting.biz>
To: Scott Marlowe <smarlowe@qwest.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: REVOKE not working...
Date: Thu, 21 Oct 2004 12:49:24 -0400
Message-ID: <4177E894.4060604@webehosting.biz> (raw)
In-Reply-To: <1098287120.21035.47.camel@localhost.localdomain>
References: <41767366.7040305@webehosting.biz>
	<1098287120.21035.47.camel@localhost.localdomain>

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
>  
>




view thread (8+ messages)  latest in thread

Message-ID: <4177E894.4060604@webehosting.biz>
Permalink:  ../4177E894.4060604@webehosting.biz/
Also on:    postgresql.org/message-id/4177E894.4060604@webehosting.biz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jmaldonado@webehosting.biz, smarlowe@qwest.net
  Subject: Re: REVOKE not working...
  In-Reply-To: <4177E894.4060604@webehosting.biz>
  References: <41767366.7040305@webehosting.biz> <1098287120.21035.47.camel@localhost.localdomain> <4177E894.4060604@webehosting.biz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox