monitoring/security: Guard delete downtime action

This commit is contained in:
Eric Lippmann 2015-02-03 16:11:29 +01:00
parent 6517f8e2be
commit d701f9a354
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ abstract class MonitoredObjectController extends Controller
public function deleteDowntimeAction()
{
$this->assertHttpMethod('POST');
$this->assertPermission('monitoring/command/downtime/delete');
$this->handleCommandForm(new DeleteDowntimeCommandForm());
}