pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: pgsql-admin@postgresql.org
To: raf <raf@raf.org>
Subject: Re: How to prevent users from creating tables
Date: Wed, 04 Feb 2009 08:48:35 -0600
Message-ID: <49895663.EE98.0025.0@wicourts.gov> (raw)
In-Reply-To: <20090204143740.GA25312@raf.org>
References: <20090204005222.GA19588@raf.org>
	<gmat64$unq$1@ger.gmane.org>
	<20090204143740.GA25312@raf.org>

>>> raf <raf@raf.org> wrote: 
>   revoke all privileges on schema public from public;
>   revoke all privileges on schema public from staff; -- staff is a
role
> 
> then i get two warnings:
> 
>   WARNING:  no privileges could be revoked for "public"
>   WARNING:  no privileges could be revoked for "public"
> 
> and a member of the staff role can still create tables.
> if i replace "all privileges" with just "create", i
> get the same warnings and still no effect.
 
Are you logged in as a database superuser?
 
(Database owner is not good enough for this operation.)
 
-Kevin



view thread (5+ messages)  latest in thread

Message-ID: <49895663.EE98.0025.0@wicourts.gov>
Permalink:  ../49895663.EE98.0025.0@wicourts.gov/
Also on:    postgresql.org/message-id/49895663.EE98.0025.0@wicourts.gov

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, raf@raf.org
  Subject: Re: How to prevent users from creating tables
  In-Reply-To: <49895663.EE98.0025.0@wicourts.gov>

* 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