*/ protected $policies = [ // ]; /** * Register any authentication / authorization services. */ public function boot(): void { // Gate::define('course-create', [CoursePolicy::class, 'create']); Gate::define('course-update', [CoursePolicy::class, 'update']); } }