Re: Deny creation of tables for a user

From: Pascal Cohen <pcohen(at)wimba(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Deny creation of tables for a user
Date: 2008-04-23 11:39:47
Message-ID: 480F2003.20509@wimba.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Terry Lee Tucker wrote:
> On Wednesday 23 April 2008 06:46, Pascal Cohen wrote:
>
>> Hello
>> I am playing with security in Postgres
>> And I would like to have a database that can be managed by a given user
>> that could do almost anything but I would also have a user that can just
>> handle what is created.
>> I mean she could insert, update delete rows but not create tables.
>>
>> I did not find a way to revoke such thing. Is it possible ?
>>
>> Thanks!
>>
>
> Have you looked at GRANT?
> http://www.postgresql.org/docs/8.3/interactive/sql-grant.html
>
>
Yes I did.
In fact I looked at GRANT and REVOKE commands but I would like to define
that a role r cannot create a new table and I did not find the way to do so.
I can prevent him from inserting or updating in an existing table but
not to create a new table

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tomasz Ostrowski 2008-04-23 11:49:30 Re: Need to update all my 60 million rows at once without transactional integrity
Previous Message Peter Eisentraut 2008-04-23 11:15:08 Re: initdb in 8.3