Re: Privileges & roles

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Carol Walter <walterc(at)indiana(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Privileges & roles
Date: 2008-07-29 19:08:38
Message-ID: 14381.1217358518@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Carol Walter <walterc(at)indiana(dot)edu> writes:
> How do you make a user that can only create temporary tables?

Well, you grant them TEMP privilege on the database, and you revoke
everything else. I suspect the key bit you're missing is to revoke
public CREATE privilege on the "public" schema.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Chris Bovitz 2008-07-29 21:03:54 Upgrading with WALs
Previous Message Carol Walter 2008-07-29 15:47:37 Privileges & roles