Re: REVOKE not working... - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: REVOKE not working...
Date
Msg-id 1098389182.21035.72.camel@localhost.localdomain
Whole thread Raw
In response to Re: REVOKE not working...  (Joe Maldonado <jmaldonado@webehosting.biz>)
Responses Re: REVOKE not working...
List pgsql-admin
On Thu, 2004-10-21 at 10:49, Joe Maldonado wrote:
> 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?

Is myuser the creator of the database in question?


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql enhancement idea
Next
From: Gaetano Mendola
Date:
Subject: Re: replication using WAL archives