Re: multiple roles for a user ?

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: etienne(dot)decherf-ext(at)aphp(dot)fr
Cc: pgsql-sql(at)lists(dot)postgresql(dot)org
Subject: Re: multiple roles for a user ?
Date: 2018-11-05 13:25:12
Message-ID: CAECtzeWqG9YpazA7vqV1RcJ4=gSw04wHSPaB-BD-e3bXpmgTRg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Le lun. 5 nov. 2018 à 12:15, DECHERF Étienne <etienne(dot)decherf-ext(at)aphp(dot)fr>
a écrit :

> Hello,
> I have a simple question to ask :
>
> Is it possible to give multiple roles to the same user?
>
> for example :
> 1. a general role "RoleA" for most users, for "grants and revokes" on certain tables and certain columns.
>
> 2. plus a role "Role_user" particular for each of them for its additional personal access
> with "grants" and "revokes" on other tables and columns.
>
>
Yes, though you can only grant privileges this way. Not revoke some.

--
Guillaume.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message David G. Johnston 2018-11-05 15:08:45 Re: multiple roles for a user ?
Previous Message Stanton Schmidt 2018-11-05 13:03:03 Re: multiple roles for a user ?