Module: check_mk
Branch: master
Commit: 5e1379606520ebc86ac5b52cbd30ee3fdf0bb534
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5e1379606520eb…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Fri Jan 27 15:36:41 2017 +0100
4017 New option to hide WATO folders when the user has insufficent permissions
The new global settings option <i>Hide folders without read permissions</i>
allows
you to hide WATO folders from users. If a user does not have read permission to the
subfolder AND any of its subfolders, the folder is simply not shown.
Note: This feature only reduces the number of folders in the WATO folder overview.
It does not hide these folders in other WATO pages.
Change-Id: Ib483c02b4f5818faac3b8d440fa28ebdf95362f4
---
.werks/4017 | 14 +++++++
web/htdocs/wato.py | 21 +++++-----
web/htdocs/watolib.py | 66 ++++++++++++++++++++++--------
web/plugins/config/wato.py | 39 +++++++++---------
web/plugins/visuals/wato.py | 2 +-
web/plugins/wato/check_mk_configuration.py | 10 +++++
6 files changed, 106 insertions(+), 46 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=5e13796065…