| От | Tomi N/A |
|---|---|
| Тема | Re: grant select on all tables of schema or database |
| Дата | |
| Msg-id | d487eb8e0612130843n1f130d8gf128d50bb3653c2b@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: grant select on all tables of schema or database (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
2006/12/13, Tom Lane <tgl@sss.pgh.pa.us>: > Martijn van Oosterhout <kleptog@svana.org> writes: > > I don't beleive you have to explicitly grant access to the database, or > > the schema, but you definitly have to grant access to the tables > > directly. > > They're completely separate privileges. GRANT ON DATABASE grants or > revokes permissions associated with database-level operations, not > permissions on specific objects contained in the database. Likewise > for GRANT ON SCHEMA. > > What the OP seems to be wishing for is a wild-card grant operation, > viz > > GRANT ALL ON TABLE *.* TO joeblow > > which would indeed be a useful thing to have, but it's *not* GRANT ON > DATABASE. Exactly. Thank you Martijn and Tom for the help and clarification. Cheers, t.n.a.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера