| От | Tom Lane |
|---|---|
| Тема | Re: Read only user permission |
| Дата | |
| Msg-id | 3382052.1692812789@sss.pgh.pa.us обсуждение |
| Ответ на | Read only user permission (Hellen Jiang <hjiang@federatedwireless.com>) |
| Ответы |
Re: Read only user permission
|
| Список | pgsql-general |
Hellen Jiang <hjiang@federatedwireless.com> writes:
> I have created readonly and readwrite roles with the following grants: however, readonly user does not have access to
thenew tables created by readwrite user. (readonly user has the access to new tables created by admin).
> Any idea how I can grant the access to readonly to make sure it has the read access to NEW tables created by
readwriteuser?
The readwrite user (not the admin) would need to issue ALTER DEFAULT
PRIVILEGES granting that.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера