From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Andrzej Kwiatkowski <kwiatek@tpi.pl>
Cc: pgsql-admin@postgresql.org
Subject: Re: Grants on creating tables..
Date: Mon, 13 Jan 2003 14:59:58 -0800 (PST)
Message-ID: <20030113145609.Q60991-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <20030113225208.C13248@kwiatek.eu.org>
On Mon, 13 Jan 2003, Andrzej Kwiatkowski wrote:
> I've read that in postgres v 7.3 and above is possible to set
> permissions for creating tables in given database...
>
> I've tried in many various ways, byt always given user can create
> tables in database.
If you remove the create permission from all of the schemas for the user
they shouldn't be able to create non-temporary tables. On my empty 7.4
devel database, after doing
REVOKE CREATE on SCHEMA public FROM public;
a random non-superuser account on the database no longer can create tables
(apart from temporary ones).
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@megazone23.bigpanda.com, kwiatek@tpi.pl
Subject: Re: Grants on creating tables..
In-Reply-To: <20030113145609.Q60991-100000@megazone23.bigpanda.com>
References: <20030113225208.C13248@kwiatek.eu.org> <20030113145609.Q60991-100000@megazone23.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