mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
MDEV-22030 Don't grant REPLICATION MASTER ADMIN automatically on upgrade from an older JSON user table
This commit is contained in:
parent
30cacf3fce
commit
19e998d20c
3 changed files with 16 additions and 3 deletions
|
|
@ -81,6 +81,10 @@ WHERE
|
|||
host='localhost' and user='good_version_id_100400';
|
||||
FLUSH PRIVILEGES;
|
||||
SHOW GRANTS FOR good_version_id_100400@localhost;
|
||||
# Testing that it's missing only "REPLICATION MASTER ADMIN".
|
||||
# Should report ALL PRIVILEGES after GRANT REPLICATION MASTER ADMIN:
|
||||
GRANT REPLICATION MASTER ADMIN ON *.* TO good_version_id_100400@localhost;
|
||||
SHOW GRANTS FOR good_version_id_100400@localhost;
|
||||
DROP USER good_version_id_100400@localhost;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue