From: | Michael Banck <michael(dot)banck(at)credativ(dot)de> |
---|---|
To: | Stephen Frost <sfrost(at)snowman(dot)net> |
Cc: | gkokolatos(at)pm(dot)me, Anastasia Lubennikova <a(dot)lubennikova(at)postgrespro(dot)ru>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: New predefined roles- 'pg_read/write_all_data' |
Date: | 2021-04-07 10:36:11 |
Message-ID: | 606d8b1c.1c69fb81.3df04.1a99@mx.google.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On Thu, Apr 01, 2021 at 04:00:06PM -0400, Stephen Frost wrote:
> diff --git a/doc/src/sgml/user-manag.sgml b/doc/src/sgml/user-manag.sgml
> index d171b13236..fe0bdb7599 100644
> --- a/doc/src/sgml/user-manag.sgml
> +++ b/doc/src/sgml/user-manag.sgml
> @@ -518,6 +518,24 @@ DROP ROLE doomed_role;
> </row>
> </thead>
> <tbody>
> + <row>
> + <entry>pg_read_all_data</entry>
> + <entry>Read all data (tables, views, sequences), as if having SELECT
> + rights on those objects, and USAGE rights on all schemas, even without
> + having it explicitly. This role does not have the role attribute
> + <literal>BYPASSRLS</literal> set. If RLS is being used, an administrator
> + may wish to set <literal>BYPASSRLS</literal> on roles which this role is
> + GRANTed to.</entry>
> + </row>
> + <row>
> + <entry>pg_write_all_data</entry>
> + <entry>Write all data (tables, views, sequences), as if having INSERT,
> + UPDATE, and DELETE rights on those objects, and USAGE rights on all
> + schemas, even without having it explicitly. This role does not have the
> + role attribute <literal>BYPASSRLS</literal> set. If RLS is being used,
> + an administrator may wish to set <literal>BYPASSRLS</literal> on roles
> + which this role is GRANTed to.</entry>
> + </row>
Shouldn't those "SELECT", "INSERT" etc. be wrapped in <command> tags?
Michael
--
Michael Banck
Projektleiter / Senior Berater
Tel.: +49 2166 9901-171
Fax: +49 2166 9901-100
Email: michael(dot)banck(at)credativ(dot)de
credativ GmbH, HRB Mönchengladbach 12080
USt-ID-Nummer: DE204566209
Trompeterallee 108, 41189 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Sascha Heuer
Unser Umgang mit personenbezogenen Daten unterliegt
folgenden Bestimmungen: https://www.credativ.de/datenschutz
From | Date | Subject | |
---|---|---|---|
Next Message | Andrei Zubkov | 2021-04-07 10:37:07 | Re: [PATCH] Tracking statements entry timestamp in pg_stat_statements |
Previous Message | Bharath Rupireddy | 2021-04-07 10:30:46 | Why is specifying oids = false multiple times in create table is silently ignored? |