'App\Policies\ModelPolicy', Application::class => ApplicationPolicy::class, Profile::class => ProfilePolicy::class, User::class => UserPolicy::class, Vacancy::class => VacancyPolicy::class, //Form::class => FormPolicy::class 'App\Form' => 'App\Policies\FormPolicy', Vote::class => VotePolicy::class, Ban::class => BanPolicy::class, Appointment::class => AppointmentPolicy::class ]; /** * Register any authentication / authorization services. * * @return void */ public function boot() { $this->registerPolicies(); // } }