mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
rename checkGlobalAccess method
This commit is contained in:
@@ -28,7 +28,7 @@ use \Espo\Core\Exceptions\Error,
|
||||
|
||||
class FieldManager extends \Espo\Core\Controllers\Base
|
||||
{
|
||||
protected function checkGlobalAccess()
|
||||
protected function checkControllerAccess()
|
||||
{
|
||||
if (!$this->getUser()->isAdmin()) {
|
||||
throw new Forbidden();
|
||||
|
||||
Reference in New Issue
Block a user