canDo('cross_trade.offer_us_vehicle.report.povote')) { return true; } return false; } /** * Determine if the given user can approve the given offer_us_vehicle. * * @param UserPolicyInterface $authUser * * @return bool */ public function report(UserPolicyInterface $authUser) { if ($authUser->canDo('cross_trade.offer_us_vehicle.report')) { return true; } return false; } /** * Determine if the given user can approve the given offer_us_vehicle. * * @param UserPolicyInterface $authUser * * @return bool */ public function download(UserPolicyInterface $authUser) { if ($authUser->canDo('cross_trade.offer_us_vehicle.report.download')) { return true; } return false; } }