[ADMIN] Roles and Privileges - Mailing list pgsql-admin

From JC Putter
Subject [ADMIN] Roles and Privileges
Date
Msg-id CAKKrXOnrL85rdEA6UZWLi5aRXDgU8MRtexOuX-OzYM7Y=E2T5w@mail.gmail.com
Whole thread Raw
Responses Re: [ADMIN] Roles and Privileges  (Samed YILDIRIM <samed@reddoc.net>)
List 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 by date:

Previous
From: Albe Laurenz
Date:
Subject: Re: [ADMIN] error installing oracle_fdw extension
Next
From: Samed YILDIRIM
Date:
Subject: Re: [ADMIN] Roles and Privileges