Module: check_mk
Branch: master
Commit: 17de00c27bdebdde50cf08beca6d61810bd4b490
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=17de00c27bdebd…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Jan 17 21:47:43 2019 +0100
Refactored config.declare_permissions() call sites to plugin registry
Change-Id: I50d59c3f9b571cf3b6e81f73a9e2d041483add67
---
cmk/gui/bi.py | 41 +-
cmk/gui/dashboard.py | 5 +-
cmk/gui/default_permissions.py | 814 ++++++++++++------
cmk/gui/gui_background_job.py | 190 +++--
cmk/gui/notifications.py | 5 +-
cmk/gui/notify.py | 37 +-
cmk/gui/pagetypes.py | 24 +-
cmk/gui/plugins/sidebar/utils.py | 3 +-
cmk/gui/plugins/views/commands.py | 314 +++++--
cmk/gui/plugins/views/mkeventd.py | 309 +++++--
cmk/gui/plugins/wato/bi.py | 59 +-
cmk/gui/plugins/wato/nagvis_auth.py | 226 +++--
cmk/gui/views.py | 7 +-
cmk/gui/visuals.py | 59 +-
cmk/gui/wato/__init__.py | 1545 ++++++++++++++++++++++++++---------
cmk/gui/wato/mkeventd.py | 126 ++-
cmk/gui/webapi.py | 34 +-
17 files changed, 2841 insertions(+), 957 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=17de00c27b…