| От | Alan Hodgson |
|---|---|
| Тема | Re: GRANT ALL ON recursive for all tables in my scheme? |
| Дата | |
| Msg-id | 200803041600.39195@hal.medialogik.com обсуждение исходный текст |
| Ответ на | GRANT ALL ON recursive for all tables in my scheme? ("A Lau" <lau.studium@gmx.net>) |
| Список | pgsql-general |
On Tuesday 04 March 2008, "A Lau" <lau.studium@gmx.net> wrote: > I recently searched for a way to grant permissions to a new created user > for all tables in a scheme or database. I just found ways who uses psql > and scripts. But I'm astonished that there is no way to do it with the > "grant all on database [schema]..."-option. Actually i thought that a > grant on a schema or database would recusivly set the accoding > permissions to the corresponding objects (eg. tables, views...). Is there > a way to do it easily in SQL-Syntax without psql and scripting? Why it > can't be done with the grant-operator? > Normally you would have a group role or roles that have appropriate permissions already, and then just grant role to new_user for group membership. -- Alan
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера