src/TelescopeApplicationServiceProvider.php
protected function authorization()
    {
        $this->gate();

        Telescope::auth(function ($request) {
            return app()->environment('local') ||
                   Gate::check('viewTelescope', [$request->user()]);
        });
    }
protected function authorization()
    {
        $this->gate();

        Telescope::auth(function ($request) {
            return app()->environment('local') ||
                   Gate::check('viewTelescope', [$request->user()]);
        });
    }
protected function authorization ( ) { $ this -> gate ( ) ; Telescope :: auth ( function ( $ request ) { return app ( ) -> environment ( 'local' ) || Gate :: check ( 'viewTelescope' , [ $ request -> user ( ) ] ) ; } ) ; }
Configure the Telescope authorization services.

@return void
Configure the Telescope authorization services .