From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: chiragkrkr102@gmail.com
Subject: Rolinherit- Role automatically inherits privileges of roles it is a member of
Date: Fri, 01 Oct 2021 11:21:53 +0000
Message-ID: <163308731354.27923.7395248143618893977@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/9.6/view-pg-roles.html
Description:
Roles do not inherit the rolconfig, please see the below labs,
postgres=> grant test_audit_app_role to test_app ;
GRANT ROLE
postgres=>
postgres=> select rolname,rolconfig,rolinherit from pg_roles where rolname
in ('test_audit_app_role','test_app');
rolname | rolconfig |
rolinherit
---------------------+-----------------------------------------+------------
test_audit_app_role | {"pgaudit.log=write,function,role,ddl"} | t
test_app | | t
(2 rows)
postgres=>
postgres=>
postgres=>
postgres=> \du test_app
List of roles
Role name | Attributes | Member of
-----------+------------+-----------------------
test_app | | {test_audit_app_role}
===========================================================
is there any way by which test_app user can inherit the roleconfig of
test_audit_app.
You can reach out to tme on my cell as well -> +919769780999
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, chiragkrkr102@gmail.com
Subject: Re: Rolinherit- Role automatically inherits privileges of roles it is a member of
In-Reply-To: <163308731354.27923.7395248143618893977@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox