Re: Grants on creating tables.. - Mailing list pgsql-admin

From Stephan Szabo
Subject Re: Grants on creating tables..
Date
Msg-id 20030113145609.Q60991-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Grants on creating tables..  (Andrzej Kwiatkowski <kwiatek@tpi.pl>)
Responses Re: Grants on creating tables..
List pgsql-admin
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).


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: SI buffer overflow
Next
From: Tim Ellis
Date:
Subject: Re: Encrypted Passwords