Title: [opsview] [12789] Fixed REST API /runtime/service for VIEWSOME users
- Revision
- 12789
- Author
- tvoon
- Date
- 2013-07-03 14:50:12 +0100 (Wed, 03 Jul 2013)
Log Message
Fixed REST API /runtime/service for VIEWSOME users
Modified Paths
Modified: trunk/CHANGES
===================================================================
--- trunk/CHANGES 2013-07-03 13:38:01 UTC (rev 12788)
+++ trunk/CHANGES 2013-07-03 13:50:12 UTC (rev 12789)
@@ -21,7 +21,9 @@
Fixed multiple "Starting Opsview Web" messages in opsview-web.log
check_snmp_interfaces_cascade now displays an informational message if there are no SNMP tables for extended throughput data
Fixed setting of sticky acknowledgements in mass acknowledgements page
+ Fixed REST API /runtime/service for VIEWSOME users
Added missing notification macros: HOSTDURATION, HOSTNOTIFICATIONNUMBER, NOTIFICATIONAUTHOR, NOTIFICATIONCOMMENT, SERVICEDURATION, SERVICENOTIFICATIONNUMBER
+
3.20130522
ENHANCEMENTS:
Notification profiles and shared notification profiles now have a field to prevent the sending of alerts after a defined number
Modified: trunk/opsview-web/lib/Opsview/Web/Controller/REST/Runtime/Service.pm
===================================================================
--- trunk/opsview-web/lib/Opsview/Web/Controller/REST/Runtime/Service.pm 2013-07-03 13:38:01 UTC (rev 12788)
+++ trunk/opsview-web/lib/Opsview/Web/Controller/REST/Runtime/Service.pm 2013-07-03 13:50:12 UTC (rev 12789)
@@ -28,10 +28,7 @@
sub apply_restrictions : Private {
my ( $self, $c ) = @_;
my $rs = $c->model( "RuntimeSchema::OpsviewHostObjects" );
- $rs =
- $c->forward( "/common/apply_restrictions",
- [ $rs, { "host_objects" => "contacts" } ]
- );
+ $rs = $c->forward( "/common/apply_restrictions", [ $rs, "contacts" ] );
$c->stash( rs => $rs );
}
_______________________________________________
Opsview-checkins mailing list
Opsview-checkins@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-checkins