Re: Help with privilages please

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hilary Forbes <hforbes(at)dmr(dot)co(dot)uk>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Help with privilages please
Date: 2006-07-20 22:08:58
Message-ID: 10087.1153433338@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hilary Forbes <hforbes(at)dmr(dot)co(dot)uk> writes:
> I have an existing table suppliers and I have created a new user
> 'hilary'<br><br>
> REVOKE ALL on TABLE suppliers FROM hilary;<br><br>
> now login as hilary<br>
> SELECT * from suppliers;<br>
> and I get all the records!!!<br><br>

Most likely there's been a grant of (at least) select privilege to PUBLIC.
You'll need to revoke that if you don't want every user to have that
privilege implicitly.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Patrick Jacquot 2006-07-21 09:09:45 Re: simple problem???
Previous Message Richard Broersma Jr 2006-07-20 20:47:52 Re: simple problem???