monitoring/security: Guard delete downtime action
This commit is contained in:
parent
6517f8e2be
commit
d701f9a354
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue