app->module('cockpit')->hasaccess('drone', 'manage.view')) { return false; } $data = $this->app->module('drone')->fetchDeploys(); return $this->render('drone:views/deploys/index.php', [ 'deploys' => $data['deploys'] ?? [], 'building' => $data['building'] ?? FALSE, 'build' => $data['build'] ]); } }