/** * Register any application authentication / authorization services. * * @param \Illuminate\Contracts\Auth\Access\Gate $gate */ public function boot(GateContract $gate) { parent::registerPolicies($gate); $this->registerPostsPolicies($gate); $this->registerCategoriesPolicies($gate); $this->registerTagsPolicies($gate); $this->registerOtherPolicies($gate); }
/** * Register any application authentication / authorization services. * * @param \Illuminate\Contracts\Auth\Access\Gate $gate */ public function boot(GateContract $gate) { parent::registerPolicies(); $this->registerDashboardPolicies($gate); $this->registerUsersPolicies($gate); $this->registerRolesPolicies($gate); $this->registerPermissionsPolicies($gate); $this->registerPasswordResetsPolicies($gate); }
/** * Register any application authentication / authorization services. * * @param \Illuminate\Contracts\Auth\Access\Gate $gate */ public function boot(GateContract $gate) { parent::registerPolicies($gate); // }