Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group