pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Minock <mjm@cs.umu.se>
To: pgsql-admin@postgreSQL.org
Subject: Denying CREATE TABLE capability
Date: Fri, 9 Mar 2001 15:20:39 +0100
Message-ID: <001901c0a8a4$1e099020$a529ef82@struts.cs.umu.se> (raw)

Hello all -

My users are able to connect to a main database and then create their own
databases.
However I do not want them to be able to create tables in the main database.
But in the main database, some users always create tables, which I have to
periodically go in and drop.

I have tried to deny users capability to add tables in the main database by
revoking users rights on the catalog relations.
Especially pg_class, etc... Still I have found no way to achieve the above
policy.

Does anyone know the trick to get this policy enforced?

Thanks,
Mike Minock




view thread (2+ messages)  latest in thread

Message-ID: <001901c0a8a4$1e099020$a529ef82@struts.cs.umu.se>
Permalink:  ../001901c0a8a4$1e099020$a529ef82@struts.cs.umu.se/
Also on:    postgresql.org/message-id/001901c0a8a4$1e099020$a529ef82@struts.cs.umu.se

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mjm@cs.umu.se
  Subject: Re: Denying CREATE TABLE capability
  In-Reply-To: <001901c0a8a4$1e099020$a529ef82@struts.cs.umu.se>
  References: <001901c0a8a4$1e099020$a529ef82@struts.cs.umu.se>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox