1/**
2 * Register the Telescope gate.
3 *
4 * This gate determines who can access Telescope in non-local environments.
5 *
6 * @return void
7 */
8protected function gate()
9{
10 Gate::define('viewTelescope', function ($user) {
11 return in_array($user->email, [
12 // Your users
13 'user@yourapp.tld',
14 ]);
15 });
16}