canDo('aml.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('aml.deal.export')) { return true; } return false; } }