Re: revoke from all users - Mailing list pgsql-general

From Jeff Davis
Subject Re: revoke from all users
Date
Msg-id 1264458288.24495.9.camel@monkey-cat.sm.truviso.com
Whole thread Raw
In response to revoke from all users  ("Little, Douglas" <DOUGLAS.LITTLE@orbitz.com>)
List pgsql-general
On Mon, 2010-01-25 at 15:55 -0600, Little, Douglas wrote:
> Is there a form of the revoke command that will revoke specific
> privileges from all users?

Does the CASCADE option work for you?

http://www.postgresql.org/docs/8.4/static/sql-revoke.html

You can REVOKE the privileges from the user who initially GRANTed them
(probably the creator of the object) using the CASCADE option, and that
should revoke privileges from the rest of the users as well.

Regards,
    Jeff Davis


pgsql-general by date:

Previous
From: "Little, Douglas"
Date:
Subject: revoke from all users
Next
From: xu fei
Date:
Subject: Re: FTS uses "tsquery" directly in the query