| От | Jasen Betts |
|---|---|
| Тема | Re: Postgresql Developer Privileges |
| Дата | |
| Msg-id | jvifbq$qn3$1@reversiblemaps.ath.cx обсуждение |
| Ответ на | Postgresql Developer Privileges (hartrc <rhart2@mt.gov>) |
| Список | pgsql-general |
On 2012-07-27, John R Pierce <pierce@hogranch.com> wrote: > On 07/27/12 12:30 PM, hartrc wrote: > and make each developer a member of this role. > >> Developers do not own the objects themselves > > thats a little more tricky, as AFAIK only a 'superuser' can change the > role that owns an object, by default its owned by the rule that created > it, but a user who's a member of a group can SET ROLE group; and then > any objects they create belong to that group, or they can ALTER > TABLE/VIEW/etc name OWNER TO newowner; for any role they are a member of. > after doing grant developer to USERNAME; you can do alter user USERNAME set role to developer; then when USERNAME logs it will be as if they had done "set role to developer;" -- ⚂⚃ 100% natural
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера