That's some particular Etihad setup then? When I travel there's often codeshare involved, but as long as the ticket (and the boarding pass shows this) is from the airline I booked with, then I get lounge access (if my ticket allows it) and everything else if there's anything. Doesn't matter if the actual flight is with some other company.