addresses()->pluck('id'); // Site Admins can always view return ( $user->isAdmin() || $user->isZC() || ($addresses->contains($o->fftn_id)) || ($addresses->contains($o->tftn_id)) ); } }