Thread: revoke from all users

revoke from all users

From
"Little, Douglas"
Date:

Is there a form of the revoke command that will revoke specific privileges from all users?

 

Thanks

 

 

Doug Little

Sr. Data Warehouse Architect | Enterprise Data Management | Orbitz Worldwide

500 W. Madison, Suite 1000  Chicago IL 60661| Office 312.260.2588 | Fax 312.894.5164 | Cell 847-997-5741

Douglas.Little@orbitz.com

   orbitz.com | ebookers.com | hotelclub.com | cheaptickets.com | ratestogo.com | asiahotels.com 

 

Attachment

Re: revoke from all users

From
Jeff Davis
Date:
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