Re: Re: permissions on databases vs. permissions on tables

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Ferruccio Zamuner <nonsolosoft(at)diff(dot)org>
Cc: pgsql-general(at)postgresql(dot)org, jim(at)reptiles(dot)org
Subject: Re: Re: permissions on databases vs. permissions on tables
Date: 2000-11-09 00:01:32
Message-ID: Pine.BSF.4.21.0011081557570.39724-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Currently I don't believe postgres has a way to prevent a user who can
connect to a database from creating objects in it. There's been talk
about the topic in the past (it's probably in one of the archives).
I'm not sure if anything was done on this front for 7.1.

On Thu, 9 Nov 2000, Ferruccio Zamuner wrote:

> Dear Jim,
>
> I've post the same question one week ago on pgsql-sql(at)postgresql(dot)org but
> none has answered until today.
> Perhaps this is not a problem or this seems an obvious topic.
>
> I hope that at least someone tells us how this question is silly.
>
>
> Bye, \fer
>
> > ok, so i know how to use GRANT/REVOKE to assign permission levels on tables.
>
> > however, it eludes me on how to do it on a database level.
>
> > i poked about in the manuals and nothing jumped out and said "here's how
> > you do it".
>
> > for example, i have a database called "samples".
>
> > in "samples", i have various tables which have been configured using
> > "GRANT/REVOKE" to allow/disallow various activities by users.
>
> > however, any user can create new tables.
>
> > how do i stop/restrict who can add tables (and/or indexes) ?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message jscott 2000-11-09 00:02:49 Problems dumping a DB
Previous Message Matt Beauregard 2000-11-08 23:54:05 Re: Relation 'pg_user' does not exist