Re: user manage their own pg_hba entries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: glenn(at)tangelosoftware(dot)com(dot)au
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: user manage their own pg_hba entries
Date: 2006-07-30 16:02:15
Message-ID: 25725.1154275335@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Glenn Davy <glenn(at)tangelosoftware(dot)net> writes:
> i've allowed all 'host' users to connect from 127.0.0.1/32 to all
> databases, then used grant/revoke to limit what they can do - except I
> cant seem to see how I can limit user A from creating tables in database
> owned by user B?

It's not a database-level privilege, it's a schema-level privilege.
Revoke CREATE on the public schema.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Glenn Davy 2006-07-30 16:25:24 Re: user manage their own pg_hba entries
Previous Message Glenn Davy 2006-07-30 08:39:47 Re: user manage their own pg_hba entries