5055 Commits

Author SHA1 Message Date
Johannes Meyer
14a4aaeb77 Revert "Fix that when chosing to not to store preferences an invalid config is created"
This reverts commit 6284da451e2a3f1fecf8935f04701d889445203c.
2015-01-23 15:23:43 +01:00
Johannes Meyer
6284da451e Fix that when chosing to not to store preferences an invalid config is created
fixes #8234
2015-01-23 14:42:09 +01:00
Eric Lippmann
c78d4aa0bd monitoring/security: Provide permissions for the feature commands 2015-01-23 13:29:47 +01:00
Eric Lippmann
4be7f09a38 Merge branch 'bugfix/use-display_name-for-groups-too-8266'
fixes #8266
2015-01-23 11:25:28 +01:00
Eric Lippmann
86ac09d7b1 monitoring: Use the service group alias for displaying service group names in the servicegroups overview
refs #8266
2015-01-23 11:24:39 +01:00
Eric Lippmann
7e05de1255 monitoring: Select the service group alias in the servicegroups ovweview
refs #8266
2015-01-23 11:23:59 +01:00
Eric Lippmann
9fe720e715 monitoring: Escape the service group name in the servicegroups overview 2015-01-23 11:23:42 +01:00
Eric Lippmann
257186fb92 monitoring: Use hostgroup alias for displaying the host group's name in the hostgroups overview
refs #8266
2015-01-23 11:22:35 +01:00
Eric Lippmann
42071118af monitoring: Select hostgroup_alias in the hostgroups overview
refs #8266
2015-01-23 11:22:20 +01:00
Eric Lippmann
30eed015ba monitoring: Support selecting host group and service group alias in the GroupsummaryQuery
refs #8266
2015-01-23 11:21:29 +01:00
Eric Lippmann
74a0c1e274 monitoring: Support selecting host group and service group alias in the HoststatusQuery
refs #8266
2015-01-23 11:21:10 +01:00
Eric Lippmann
e15c085f19 monitoring: Support selecting host group and service group alias in the StatusQuery
refs #8266
2015-01-23 11:20:35 +01:00
Eric Lippmann
b54564eb5c monitoring: Escape the host group's name in the hostgroups overview 2015-01-23 11:20:00 +01:00
Eric Lippmann
5ac1eaa513 monitoring: Fix indents in the GroupsummaryQuery 2015-01-23 11:11:34 +01:00
Eric Lippmann
3cb2dd0e8b monitoring/security: Hide 'Acknowledge' link if user lacks the respective permission 2015-01-23 11:01:47 +01:00
Eric Lippmann
08e8d5d742 monitoring/security: Hide 'Process check result' link if user lacks the respective permission 2015-01-23 10:48:21 +01:00
Eric Lippmann
2535d802b1 monitoring: Add missing td closing tag 2015-01-23 10:45:10 +01:00
Eric Lippmann
27c1500295 monitoring: Do not translate brackets 2015-01-23 10:41:42 +01:00
Eric Lippmann
a166234e6d monitoring/security: Hide 'Reschedule check' link if user lacks the respective permission 2015-01-23 10:40:48 +01:00
Eric Lippmann
af2698b075 monitoring: Do not generate 'Schedule downtime' and 'Add comment' links if user lacks the respective permissions 2015-01-23 10:15:55 +01:00
Eric Lippmann
d07e1329e8 monitoring: Use nl2br instead of str_replace for downtime comment and comment text 2015-01-23 09:45:43 +01:00
Eric Lippmann
f47dae1092 monitoring/security: Hide 'Schedule downtime' link if user lacks the respective permission 2015-01-23 09:43:16 +01:00
Eric Lippmann
67be1b329b monitoring/security: Hide 'Add comment' link if user lacks the respective permission 2015-01-23 09:41:06 +01:00
Eric Lippmann
cd8822ceff lib: Add View::hasPermission() 2015-01-23 09:36:45 +01:00
Eric Lippmann
6da3cb8403 lib: Reorder auth related functions in the ActionController 2015-01-23 09:36:05 +01:00
Eric Lippmann
bd65f4d50a monitoring/security: Hide delete comment action in the comments overview if user lacks the respective permission 2015-01-23 09:18:29 +01:00
Eric Lippmann
ac5ac10feb monitoring/security: Hide delete downtime action in the downtimes overview if user lacks the respective permission 2015-01-23 09:16:30 +01:00
Eric Lippmann
5967d5fe04 monitoring/security: Hide delete downtime action if user lacks the respective permission 2015-01-22 17:35:34 +01:00
Eric Lippmann
a19c155d9f monitoring/security: Hide delete comment action if user lacks the respective permission 2015-01-22 17:33:20 +01:00
Eric Lippmann
4226f06d5d monitoring: Remove unused variable in the MonitoredObjectController 2015-01-22 17:28:33 +01:00
Eric Lippmann
f46a587266 monitoring/security: Hide 'Remove Problem Acknowledgement' action if user lacks the respective permission 2015-01-22 17:25:30 +01:00
Eric Lippmann
a09ba15859 monitoring/security: Hide 'Check Now' action if user lacks the respective permission 2015-01-22 17:13:35 +01:00
Eric Lippmann
44de790cc9 Security: Temporary grant all permissions 2015-01-22 17:12:49 +01:00
Eric Lippmann
ef0a7c0e77 Revert "Security: Temporary grant all permissions"
This reverts commit 9b7e75a616e753e25cda033c86fab44e1281d7e9.

Patching function hasPermission is not enough. A fix will follow.
2015-01-22 17:11:53 +01:00
Eric Lippmann
9a59f3529c monitoring: Group permissions by topic where it makes sense, i.e. downtime and comment 2015-01-22 16:56:00 +01:00
Eric Lippmann
251030e1d8 monitoring: Rename remove-downtime to delete-downtime 2015-01-22 16:03:22 +01:00
Eric Lippmann
ba7818db5f monitoring: Restrict delete downtime and delete comment to HTTP POST 2015-01-22 15:49:40 +01:00
Eric Lippmann
0f13c0428c Controller: Introduce method assertHttpMethod()
We have actions where only certain HTTP methods, e.g. POST are allowed but they are not restricted yet.
Controller::assertHttpMethod() takes a number of allowed HTTP methods and responds with HTTP 405 in case
the current request's method is not one of the given methods.
2015-01-22 15:47:16 +01:00
Eric Lippmann
3d7b375ab4 Security: Require permissions for executing common service commands 2015-01-22 15:23:02 +01:00
Eric Lippmann
44718e5012 Security: Require permissions for executing common host commands 2015-01-22 15:22:20 +01:00
Eric Lippmann
9b7e75a616 Security: Temporary grant all permissions
We'll introduce permissions and restrictions in the next hours. Because our web setup
does not configure permissions yet, all permissions are granted for all users from now on.
2015-01-22 15:20:38 +01:00
Eric Lippmann
f16aac5154 Security: Sort permissions only if not empty 2015-01-22 15:20:19 +01:00
Johannes Meyer
6845480b5f Fix that strtoupper can't handle non ascii chars
Fixed by not using strtoupper or by using it prior
to the translation of the corresponding string.

fixes #8163
2015-01-22 14:37:07 +01:00
Johannes Meyer
78a6937c22 Drop Zend_View_Helper_MonitoringState
It's not required anymore... finally.
2015-01-22 14:37:07 +01:00
Eric Lippmann
f4f50fde3c monitoring: Remove _RenderServicePerfdata view helper
This helper is not used anywhere.
2015-01-22 14:12:02 +01:00
Eric Lippmann
fecdab9463 monitoring: Provide permission for processing host and service check results 2015-01-22 13:50:55 +01:00
Eric Lippmann
bc3a475e90 Never autofocus the search element by default
Automatically focusing the search element on the initial page load and on every auto-refresh of the menu is disruptive
for both mobile devices and screen readers.

fixes #7697
2015-01-22 13:48:52 +01:00
Eric Lippmann
32c64f7e3d layout: Do not duplicate code from layout/menu.phtml in navigation.phtml 2015-01-22 13:47:45 +01:00
Eric Lippmann
9c47b2d949 monitoring: Fix permission description for 'monitoring/command/schedule' 2015-01-22 13:46:32 +01:00
Johannes Meyer
13c2a3a967 Merge branch 'feature/more-intuitive-module-installation-8191'
resolves #8191
2015-01-22 13:34:51 +01:00