Do you find these sentences correct/idiomatic?
It warranted her the right to apply for the job. It warranted her to apply for the job.
(If your first language is not English, mention it)
or