canDo('deal.deal.import')) { return true; } return false; } /** * Determine if the given user can approve the given deal. * * @param UserPolicyInterface $authUser * * @return bool */ public function export(UserPolicyInterface $authUser) { if ($authUser->canDo('deal.deal.export')) { return true; } return false; } }