Re: REVOKE ... FROM everybody? - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: REVOKE ... FROM everybody?
Date
Msg-id 20100312150343.GA3663@alvh.no-ip.org
Whole thread Raw
In response to REVOKE ... FROM everybody?  (Adrian von Bidder <avbidder@fortytwo.ch>)
List pgsql-general
Adrian von Bidder wrote:
> Heyho!
>
> As far as I understand, REVOKE .. FROM PUBLIC revokes rights that were given
> to everybody.  Is there a way to revoke rights given to *any*body?  (all
> users)?  Or do I misunderstand PUBLIC?

You're misunderstanding -- if you revoke from public, only the grant
given to public is revoked.  Grants to other roles are kept.  To revoke
all grants, you need to list them individually IIRC.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: jody
Date:
Subject: beginning and ending of sessions
Next
From: akp geek
Date:
Subject: Re: Postgres GIS Question