Re: Help with privilages please

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Help with privilages please
Дата
Msg-id 20060720131417.A89811@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Help with privilages please  (Hilary Forbes <hforbes@dmr.co.uk>)
Список 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.



В списке pgsql-sql по дате отправления:

Предыдущее
От: Hilary Forbes
Дата:
Сообщение: Help with privilages please
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Error when trying to use a FOR loop