15 lines
227 B
PHP
15 lines
227 B
PHP
<?php
|
|
|
|
namespace Espo\Controllers;
|
|
|
|
class ScheduledJobLogRecord extends \Espo\Core\Controllers\Record
|
|
{
|
|
protected function checkGlobalAccess()
|
|
{
|
|
if (!$this->getUser()->isAdmin()) {
|
|
throw new Forbidden();
|
|
}
|
|
}
|
|
}
|
|
|