[stable-2] Backport from main to stable-2 ()

* Update CONTRIBUTORS file ()

(cherry picked from commit cbdf51234a)

* Honor the set_default_role_all parameter ()

The set_default_role_all parameter is documented, but does nothing. This PR fixes this.

(cherry picked from commit f547b66d35)

* Add a changelog fragment to PR 282 ()

(cherry picked from commit 952e1666d8)

Co-authored-by: Benoit Garret <benoit.garret_github@gadz.org>
This commit is contained in:
Andrew Klychkov 2022-02-16 13:11:55 +03:00 committed by GitHub
parent 9d9ea46603
commit 8b2c418538
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 1 deletions

View file

@ -36,6 +36,7 @@ Berbe
bjne
bmalynovytch
bmildren
bmillemathias
boreal321
brutus
burner1024
@ -60,6 +61,7 @@ Davidffry
denisemauldin
diclophis
d-lee
d-rupp
dmp1ce
dnelson
dramaley
@ -100,6 +102,7 @@ hyperfocus1338
igormukhingmailcom
imjoseangel
infigoKriti
int32bit
ipergenitsa
iredmail
ivandigiusto
@ -109,6 +112,7 @@ jamescassell
janosmiko
jarnold-timeout
JaSafieddine
jb-2197
jborean93
jctanner
jean-christophe-manciot
@ -136,10 +140,12 @@ kalaisubbiah
kenichi-ogawa-1988
kkeane
klingac
koleo
kotso
kuntalFreshBooks
kurtdavis
larsks
laurent-indermuehle
ldesgrange
leeadh
LeonB
@ -218,6 +224,7 @@ robpblake
rokka-n
Roxyrob
roysmith
rsicart
rthouvenin
ruudk
samccann
@ -242,6 +249,7 @@ stoned
strixBE
SWADESNA
tapologo
tarunm97
tejatsk14
tersmitten
the
@ -252,6 +260,7 @@ timorunge
Tomasthanes
tomdymond
Tronde
tuhoanganh
tvlooy
tyll
UncertaintyP

View file

@ -0,0 +1,2 @@
bugfixes:
- mysql_role - make the ``set_default_role_all`` parameter actually working (https://github.com/ansible-collections/community.mysql/pull/282).

View file

@ -770,7 +770,8 @@ class Role():
self.cursor.execute(*self.q_builder.role_grant(user))
self.role_impl.set_default_role_all(user)
if set_default_role_all:
self.role_impl.set_default_role_all(user)
changed = True