hr_contract_api is owned by apps? Are you logged in as "apps" when applying the grant on the view?