| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера