In a rental home, the landlord had everyone sign the same lease agreement.
Out of the original 5 tenants, one assigned their room and was returned their damage deposit from the landlord. Another sublet their room, I'm not sure if he got back his damage deposit from the landlord. When the original tenants assigned or sublet their rooms, they didn't receive permission from the other tenants. This was a problem as one of the new people didn't pay rent and it seems unfair as they never agreed to have him there in the first place.
Was it legal for the landlord to allow certain tenants to move out and return their damage deposit without having permission from the other tenants? If one of the new tenants doesn't pay or damages the house, is it legal for the landlord to then use joint and several liability to sue one of the original roommates? The contract doesn't specify any of this.
TL;DR if multiple people sign same rental agreement and landlord lets some find replacements, can landlord hold original tenants responsible for actions of new tenants even though they never agreed on living with the new tenant?