This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/application/Espo/Controllers/ScheduledJob.php
T
Yuri Kuznetsov e32d13fbf2 dev scheduled job
2014-01-21 18:54:13 +02:00

15 lines
218 B
PHP

<?php
namespace Espo\Controllers;
class ScheduledJob extends \Espo\Core\Controllers\Record
{
protected function checkGlobalAccess()
{
if (!$this->getUser()->isAdmin()) {
throw new Forbidden();
}
}
}