| От | Tom Lane |
|---|---|
| Тема | Re: Role & User - Inheritance? |
| Дата | |
| Msg-id | 29737.1174011647@sss.pgh.pa.us обсуждение |
| Ответ на | Role & User - Inheritance? ("Alexi Gen" <sqlcatz@hotmail.com>) |
| Ответы |
Practical question.
|
| Список | pgsql-general |
"Alexi Gen" <sqlcatz@hotmail.com> writes:
> Since user01 is tagged to dba01 (who has the SUPERUSER option) - should'nt
> user01 also inherit this?
No, he has to actually SET ROLE to the superuser account to make himself
a superuser. SUPERUSER and the other non-GRANTable attributes of a role
don't inherit through mere membership. This is partly an implementation
limitation but I happen to think it's a good idea ... superuserness is a
mighty big hammer to be letting loose accidentally.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера