What are the exceptions to the landlord’s right to assign its rights and obligations to a tenant?

The owner’s (landlord) responsibility to pay the cost of remedying contraventions or fines on behalf of the tenant cannot be assigned to the tenant.