Re: revoke from all users

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: "Little, Douglas" <DOUGLAS(dot)LITTLE(at)orbitz(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: revoke from all users
Date: 2010-01-25 22:24:48
Message-ID: 1264458288.24495.9.camel@monkey-cat.sm.truviso.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message xu fei 2010-01-25 23:30:01 Re: FTS uses "tsquery" directly in the query
Previous Message Little, Douglas 2010-01-25 21:55:40 revoke from all users