pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Allow users with BYPASSRLS to alter their own passwords. 7+ messages / 1 participants [nested] [flat]
* pgsql: Allow users with BYPASSRLS to alter their own passwords. @ 2020-11-03 20:41 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-11-03 20:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Allow users with BYPASSRLS to alter their own passwords. The intention in commit 491c029db was to require superuserness to change the BYPASSRLS property, but the actual effect of the coding in AlterRole() was to require superuserness to change anything at all about a BYPASSRLS role. Other properties of a BYPASSRLS role should be changeable under the same rules as for a normal role, though. Fix that, and also take care of some documentation omissions related to BYPASSRLS and REPLICATION role properties. Tom Lane and Stephen Frost, per bug report from Wolfgang Walther. Back-patch to all supported branches. Discussion: https://postgr.es/m/a5548a9f-89ee-3167-129d-162b5985fcf8@technowledgy.de Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d907bd0543aa63e59653d7345840bed0f8b3a83b Modified Files -------------- doc/src/sgml/ref/alter_role.sgml | 4 +++- doc/src/sgml/ref/create_role.sgml | 11 +++++++++-- src/backend/commands/user.c | 10 ++++++---- 3 files changed, 18 insertions(+), 7 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Allow users with BYPASSRLS to alter their own passwords. @ 2020-11-03 20:41 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-11-03 20:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Allow users with BYPASSRLS to alter their own passwords. The intention in commit 491c029db was to require superuserness to change the BYPASSRLS property, but the actual effect of the coding in AlterRole() was to require superuserness to change anything at all about a BYPASSRLS role. Other properties of a BYPASSRLS role should be changeable under the same rules as for a normal role, though. Fix that, and also take care of some documentation omissions related to BYPASSRLS and REPLICATION role properties. Tom Lane and Stephen Frost, per bug report from Wolfgang Walther. Back-patch to all supported branches. Discussion: https://postgr.es/m/a5548a9f-89ee-3167-129d-162b5985fcf8@technowledgy.de Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/768dbef0d49826c2e404ceb1567b3cc9e2bbc30a Modified Files -------------- doc/src/sgml/ref/alter_role.sgml | 4 +++- doc/src/sgml/ref/create_role.sgml | 11 +++++++++-- src/backend/commands/user.c | 10 ++++++---- 3 files changed, 18 insertions(+), 7 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Allow users with BYPASSRLS to alter their own passwords. @ 2020-11-03 20:41 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-11-03 20:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Allow users with BYPASSRLS to alter their own passwords. The intention in commit 491c029db was to require superuserness to change the BYPASSRLS property, but the actual effect of the coding in AlterRole() was to require superuserness to change anything at all about a BYPASSRLS role. Other properties of a BYPASSRLS role should be changeable under the same rules as for a normal role, though. Fix that, and also take care of some documentation omissions related to BYPASSRLS and REPLICATION role properties. Tom Lane and Stephen Frost, per bug report from Wolfgang Walther. Back-patch to all supported branches. Discussion: https://postgr.es/m/a5548a9f-89ee-3167-129d-162b5985fcf8@technowledgy.de Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/136f87ea57b3a7a6bf64c832a5e1b69e18091775 Modified Files -------------- doc/src/sgml/ref/alter_role.sgml | 4 +++- doc/src/sgml/ref/create_role.sgml | 11 +++++++++-- src/backend/commands/user.c | 10 ++++++---- 3 files changed, 18 insertions(+), 7 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Allow users with BYPASSRLS to alter their own passwords. @ 2020-11-03 20:41 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-11-03 20:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Allow users with BYPASSRLS to alter their own passwords. The intention in commit 491c029db was to require superuserness to change the BYPASSRLS property, but the actual effect of the coding in AlterRole() was to require superuserness to change anything at all about a BYPASSRLS role. Other properties of a BYPASSRLS role should be changeable under the same rules as for a normal role, though. Fix that, and also take care of some documentation omissions related to BYPASSRLS and REPLICATION role properties. Tom Lane and Stephen Frost, per bug report from Wolfgang Walther. Back-patch to all supported branches. Discussion: https://postgr.es/m/a5548a9f-89ee-3167-129d-162b5985fcf8@technowledgy.de Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/501035a0ac7f711ee2f899cb08acb2a4237d7f4d Modified Files -------------- doc/src/sgml/ref/alter_role.sgml | 4 +++- doc/src/sgml/ref/create_role.sgml | 11 +++++++++-- src/backend/commands/user.c | 10 ++++++---- 3 files changed, 18 insertions(+), 7 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Allow users with BYPASSRLS to alter their own passwords. @ 2020-11-03 20:41 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-11-03 20:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Allow users with BYPASSRLS to alter their own passwords. The intention in commit 491c029db was to require superuserness to change the BYPASSRLS property, but the actual effect of the coding in AlterRole() was to require superuserness to change anything at all about a BYPASSRLS role. Other properties of a BYPASSRLS role should be changeable under the same rules as for a normal role, though. Fix that, and also take care of some documentation omissions related to BYPASSRLS and REPLICATION role properties. Tom Lane and Stephen Frost, per bug report from Wolfgang Walther. Back-patch to all supported branches. Discussion: https://postgr.es/m/a5548a9f-89ee-3167-129d-162b5985fcf8@technowledgy.de Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/df4405b7848599311c5799f48caba1605490f2b2 Modified Files -------------- doc/src/sgml/ref/alter_role.sgml | 6 ++++-- doc/src/sgml/ref/create_role.sgml | 11 +++++++++-- src/backend/commands/user.c | 10 ++++++---- 3 files changed, 19 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Allow users with BYPASSRLS to alter their own passwords. @ 2020-11-03 20:41 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-11-03 20:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Allow users with BYPASSRLS to alter their own passwords. The intention in commit 491c029db was to require superuserness to change the BYPASSRLS property, but the actual effect of the coding in AlterRole() was to require superuserness to change anything at all about a BYPASSRLS role. Other properties of a BYPASSRLS role should be changeable under the same rules as for a normal role, though. Fix that, and also take care of some documentation omissions related to BYPASSRLS and REPLICATION role properties. Tom Lane and Stephen Frost, per bug report from Wolfgang Walther. Back-patch to all supported branches. Discussion: https://postgr.es/m/a5548a9f-89ee-3167-129d-162b5985fcf8@technowledgy.de Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/04c4b495b1c93c40bc989c450ca8fb5bea965e27 Modified Files -------------- doc/src/sgml/ref/alter_role.sgml | 6 ++++-- doc/src/sgml/ref/create_role.sgml | 11 +++++++++-- src/backend/commands/user.c | 10 ++++++---- 3 files changed, 19 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Allow users with BYPASSRLS to alter their own passwords. @ 2020-11-03 20:41 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-11-03 20:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Allow users with BYPASSRLS to alter their own passwords. The intention in commit 491c029db was to require superuserness to change the BYPASSRLS property, but the actual effect of the coding in AlterRole() was to require superuserness to change anything at all about a BYPASSRLS role. Other properties of a BYPASSRLS role should be changeable under the same rules as for a normal role, though. Fix that, and also take care of some documentation omissions related to BYPASSRLS and REPLICATION role properties. Tom Lane and Stephen Frost, per bug report from Wolfgang Walther. Back-patch to all supported branches. Discussion: https://postgr.es/m/a5548a9f-89ee-3167-129d-162b5985fcf8@technowledgy.de Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/77df80cf691af9270ef52d860b5615d6d0a7afbc Modified Files -------------- doc/src/sgml/ref/alter_role.sgml | 6 ++++-- doc/src/sgml/ref/create_role.sgml | 11 +++++++++-- src/backend/commands/user.c | 10 ++++++---- 3 files changed, 19 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2020-11-03 20:41 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-11-03 20:41 pgsql: Allow users with BYPASSRLS to alter their own passwords. Tom Lane <tgl@sss.pgh.pa.us> 2020-11-03 20:41 pgsql: Allow users with BYPASSRLS to alter their own passwords. Tom Lane <tgl@sss.pgh.pa.us> 2020-11-03 20:41 pgsql: Allow users with BYPASSRLS to alter their own passwords. Tom Lane <tgl@sss.pgh.pa.us> 2020-11-03 20:41 pgsql: Allow users with BYPASSRLS to alter their own passwords. Tom Lane <tgl@sss.pgh.pa.us> 2020-11-03 20:41 pgsql: Allow users with BYPASSRLS to alter their own passwords. Tom Lane <tgl@sss.pgh.pa.us> 2020-11-03 20:41 pgsql: Allow users with BYPASSRLS to alter their own passwords. Tom Lane <tgl@sss.pgh.pa.us> 2020-11-03 20:41 pgsql: Allow users with BYPASSRLS to alter their own passwords. Tom Lane <tgl@sss.pgh.pa.us>
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