Re: create role/user management

From: Steve Midgley <science(at)misuse(dot)org>
To: Kirti Adesara <kdadesara(at)hotmail(dot)com>
Cc: "pgsql-sql(at)lists(dot)postgresql(dot)org" <pgsql-sql(at)lists(dot)postgresql(dot)org>
Subject: Re: create role/user management
Date: 2019-05-06 19:35:37
Message-ID: CAJexoSKNMuRHD2ssKMFaYsa8inLKnDpZpD9zcYTBvZD5QX7KJA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Sat, May 4, 2019 at 9:38 AM Kirti Adesara <kdadesara(at)hotmail(dot)com> wrote:

> Hi
>
> I have a database with multiple tables, functions and triggers in public
> schema.
>
> I want to create a user that can login to database and select on specific
> tables and cannot access to any functions, triggers and specific tables.
>

Can you clarify your intention/goal? You write that you want a user role to
"select on specific tables" but "cannot access... specific tables." Do you
mean you want by default a user role that can't access any functions,
triggers or tables, and then can be "whitelisted" into access to a limited,
defined list of tables?

Steve

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message David G. Johnston 2019-05-06 19:43:40 Re: create role/user management
Previous Message Sonnenberg-Carstens, Stefan 2019-05-06 09:34:08 AW: plpython transforms vs. arrays