PlaylistPolicy::class, User::class => UserPolicy::class, ]; /** * Register any application authentication / authorization services. * * @param \Illuminate\Contracts\Auth\Access\Gate $gate * * @return void */ public function boot(GateContract $gate) { $this->registerPolicies($gate); // } }