Module: check_mk
Branch: master
Commit: 752e34be50a2c06c14d37fbdb2c5036a13aba5ee
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=752e34be50a2c0…
Author: Andreas <ab(a)mathias-kettner.de>
Date: Mon Jun 18 11:37:29 2018 +0200
5825 FIX Fixed broken sync of personal user settings information to slave sites
Werk 6053 broke synchronisation of personal user settings to slave sites. This has been
fixed.
Note: The personal user settings are also synced during "Activate changes".
So they are synced after all - just a bit delayed.
Change-Id: I3dce9282508e343f2558fec527ab93642ccb5de2
---
.werks/5825 | 16 ++++++++++++++++
web/htdocs/wato.py | 3 ++-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/.werks/5825 b/.werks/5825
new file mode 100644
index 0000000..2a820d3
--- /dev/null
+++ b/.werks/5825
@@ -0,0 +1,16 @@
+Title: Fixed broken sync of personal user settings information to slave sites
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.6.0i1
+Date: 1529314447
+
+Werk 6053 broke synchronisation of personal user settings to slave sites. This has been
fixed.
+
+Note: The personal user settings are also synced during "Activate changes".
+So they are synced after all - just a bit delayed.
+
+
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 1254259..d908860 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -14927,7 +14927,8 @@ def user_profile_async_replication_page():
html.context_button(_('User Profile'), 'user_profile.py',
'back')
html.end_context_buttons()
- user_profile_async_replication_dialog(sites=config.user.authorized_login_sites())
+ sites = [site_id for site_id, site in config.user.authorized_login_sites()]
+ user_profile_async_replication_dialog(sites=sites)
html.footer()