From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Gregory S. Williamson <gsw@globexplorer.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Keep a user from creating tables ?
Date: Mon, 17 May 2004 13:45:10 -0700 (PDT)
Message-ID: <20040517134309.M29238@megazone.bigpanda.com> (raw)
In-Reply-To: <71E37EF6B7DCC1499CEA0316A2568328010579AC@loki.wc.globexplorer.net>
References: <71E37EF6B7DCC1499CEA0316A2568328010579AC@loki.wc.globexplorer.net>
On Mon, 17 May 2004, Gregory S. Williamson wrote:
> Stephan,
>
> Thanks for the info, but alas, no success.
>
> I have:
> List of database users
> User name | User ID | Attributes
> -----------+---------+----------------------------
> testuser | 100 |
> postgres | 1 | superuser, create database
>
>
> And as postgres I ran:
> REVOKE ALL ON SCHEMA public FROM testuser;
I forgot to mention something which led to the confusion.
testuser doesn't probably have permissions on the public schema, but
public (all users) does. You probably need to revoke it from PUBLIC
and grant it to the users who should have creation rights to public.
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: sszabo@megazone.bigpanda.com, gsw@globexplorer.com
Subject: Re: Keep a user from creating tables ?
In-Reply-To: <20040517134309.M29238@megazone.bigpanda.com>
References: <71E37EF6B7DCC1499CEA0316A2568328010579AC@loki.wc.globexplorer.net> <20040517134309.M29238@megazone.bigpanda.com>
* 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