Re: automatical grant - role membership

From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: Petr Suk <petrxsuk(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: automatical grant - role membership
Date: 2013-11-14 07:25:31
Message-ID: CAKoxK+5DvJYF3tor6=kJKdfhpxoui6PAFjuhy9WzHjZbngGDPQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, Nov 13, 2013 at 4:26 PM, Petr Suk <petrxsuk(at)gmail(dot)com> wrote:
> Hi,
> I am trying to avoid neediness of manual settings of privileges for new
> tables and views for roles in the same membership.
> Let's say I have one DB schema (myschema) and two DB users (roles: role1,
> role2). "Role1" and "role2" are in mebership of role "mygroup".
> I want my DB to work like this:
> "role1" create some table in "myschema" and is the owner of this table. I
> want "role2" to automatically have all privileges on this table.

Making role2 inheriting from role1?

Luca

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Petr Suk 2013-11-14 09:17:16 Re: automatical grant - role membership
Previous Message Petr Suk 2013-11-13 15:26:48 automatical grant - role membership