pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedRolinherit- Role automatically inherits privileges of roles it is a member of
2+ messages / 2 participants
[nested] [flat]
* Rolinherit- Role automatically inherits privileges of roles it is a member of
@ 2021-10-01 11:21 PG Doc comments form <noreply@postgresql.org>
0 siblings, 1 reply; 2+ messages in thread
From: PG Doc comments form @ 2021-10-01 11:21 UTC (permalink / raw)
To: pgsql-docs@lists.postgresql.org; +Cc: chiragkrkr102@gmail.com
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Rolinherit- Role automatically inherits privileges of roles it is a member of
@ 2021-10-01 13:50 David G. Johnston <david.g.johnston@gmail.com>
parent: PG Doc comments form <noreply@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: David G. Johnston @ 2021-10-01 13:50 UTC (permalink / raw)
To: chiragkrkr102@gmail.com <chiragkrkr102@gmail.com>; pgsql-docs@lists.postgresql.org <pgsql-docs@lists.postgresql.org>
On Friday, October 1, 2021, PG Doc comments form <noreply@postgresql.org>
wrote:
> 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,
Yeah, just like the documentation says:
https://www.postgresql.org/docs/current/sql-createrole.html
Only permissions (grants) are inherited.
> You can reach out to tme on my cell as well -> +919769780999
>
People aren’t going to do this, you should keep such info private.
David J.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-10-01 13:50 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 11:21 Rolinherit- Role automatically inherits privileges of roles it is a member of PG Doc comments form <noreply@postgresql.org>
2021-10-01 13:50 ` David G. Johnston <david.g.johnston@gmail.com>
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