Module: check_mk
Branch: master
Commit: a962b14c265d5e236958a2634619c6f154637a79
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a962b14c265d5e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jul 1 11:54:53 2016 +0200
3661 FIX Service discovery is now possible with only "modify services"
permission
Users which are permitted on a host, are not permitted to modify existing hosts
but have the permission "modify services" are now able to perform service
discoveries
again using WATO.
---
.werks/3661 | 12 ++++++++++++
ChangeLog | 1 +
web/htdocs/wato.py | 1 -
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/3661 b/.werks/3661
new file mode 100644
index 0000000..e7be038
--- /dev/null
+++ b/.werks/3661
@@ -0,0 +1,12 @@
+Title: Service discovery is now possible with only "modify services"
permission
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i1
+Date: 1467366512
+
+Users which are permitted on a host, are not permitted to modify existing hosts
+but have the permission "modify services" are now able to perform service
discoveries
+again using WATO.
diff --git a/ChangeLog b/ChangeLog
index b012bc4..a067ed6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -465,6 +465,7 @@
* 3588 FIX: BI aggregation: Fixed folding of tag groups in aggregation rules using
host/service searches
* 3620 FIX: Do not longer put SNMP MIB files into WATO snapshots...
* 3547 FIX: Deleting a subfolder now generates a correct audit message...
+ * 3661 FIX: Service discovery is now possible with only "modify services"
permission...
Notifications:
* 3263 Notifications: allow users to restrict by their contact groups...
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 031ed5c..742eb61 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -2686,7 +2686,6 @@ def mode_inventory(phase, firsttime):
html.context_button(_("Full Scan"),
html.makeuri([("_scan", "yes")]))
elif phase == "action":
- host.need_permission("write")
if html.check_transaction():
# Settings for showing parameters
if html.var("_show_parameters"):