/** * @param UserRole $userRole */ public function __construct(UserRole $userRole) { parent::__construct($userRole); $this->setAuthorizedRoles(Config::get('authorized_roles.kyokai')); }
/** * Create a new policy instance. * * MinistryTransactionPolicy constructor. * @param UserRole $userRole */ public function __construct(UserRole $userRole) { parent::__construct($userRole); $this->setAuthorizedRoles(Config::get('authorized_roles.ministry-accountant')); }