From: | PG Doc comments form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
Cc: | chiragkrkr102(at)gmail(dot)com |
Subject: | Rolinherit- Role automatically inherits privileges of roles it is a member of |
Date: | 2021-10-01 11:21:53 |
Message-ID: | 163308731354.27923.7395248143618893977@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
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
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2021-10-01 13:50:49 | Re: Rolinherit- Role automatically inherits privileges of roles it is a member of |
Previous Message | Anton Voloshin | 2021-09-29 11:58:55 | Re: [PATCH] fix ICU explorer link in locale documentation |