Re: Help with privilages please

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
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 20:17:10
Message-ID: 20060720131417.A89811@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thu, 20 Jul 2006, Hilary Forbes wrote:

> Dear All
>
> We are running pg v 7.4.1 and importantly the database has been
> converted from earlier versions of pg (6.5 I seem to recall).
>
> I have an existing table suppliers and I have created a new user 'hilary'
>
> REVOKE ALL on TABLE suppliers FROM hilary;
>
> now login as hilary
> SELECT * from suppliers;
> and I get all the records!!!

This probably means that "public" also has rights on suppliers (and thus,
the user still has access through the public permissions). You can
probably get around this by revoking the public rights and granting rights
explicitly to the users that should have rights.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2006-07-20 20:19:25 Re: Error when trying to use a FOR loop
Previous Message ivan marchesini 2006-07-20 14:52:36 simple problem???