def METHOD_NAME(self):
    self.asset_id = str(self.asset.id)
    self.generate_fixture_user_vendor()
    self.log_in_vendor()
    person_id = str(self.get_current_user_raw().id)
    projects_service.add_team_member(self.project_id, person_id)
    with self.assertRaises(permissions.PermissionDenied):
        user_service.check_entity_access(str(self.asset_id))
    tasks_service.assign_task(self.task_id, person_id)
    self.assertTrue(user_service.check_entity_access(str(self.asset_id)))