[ADMIN] Roles and Privileges

Поиск
Список
Период
Сортировка
От JC Putter
Тема [ADMIN] Roles and Privileges
Дата
Msg-id CAKKrXOnrL85rdEA6UZWLi5aRXDgU8MRtexOuX-OzYM7Y=E2T5w@mail.gmail.com
обсуждение исходный текст
Ответы Re: [ADMIN] Roles and Privileges  (Samed YILDIRIM <samed@reddoc.net>)
Список pgsql-admin
Hi,

I would like to setup a new schema on an existing database and grant a set of users full control to the schema.

I've done the following and would appreciate help as I'm not getting the behavior I was hoping for.

I create a new group role and added members to the role then granted the role all privileges to the schema. 

When users create tables the table owner it set to the user instead of the role and I have to grant each newly created table before other members can access it.  

I've altered the default privileges however it seems to not have an effect. Someone pointed out that users would need to SET ROLE before creating tables, is this the only possible way or it there another way to achieve this?

Thank you in advance 

В списке pgsql-admin по дате отправления:

Предыдущее
От: Albe Laurenz
Дата:
Сообщение: Re: [ADMIN] error installing oracle_fdw extension
Следующее
От: Samed YILDIRIM
Дата:
Сообщение: Re: [ADMIN] Roles and Privileges