Depends where you are. Where I live it's no modification. If it's hard-wired the tenant can't touch it.
Though in reality many landlords don't mind as long as you know what you're doing and return it to how it was. Just a problem if you get a jerk landlord.