It seems in NYC at least, the landlord can't refuse to let someone sublet so long as they are properly notified and the sublet is reasonable. The way most leases are written though, it makes it sound as if the landlord has the final say vs it defaulting to permitted (with notification) unless the landlord makes a good case why it should be denied.