Adding a service provider to a service

When a booking has been made. I can go into the appointments and assign a service provider. However I seem to be able to assign anyone regardless of their working hours. I have worker who only works weekends but I can assign her to a job in the week. Is this a bug or the intended operation? Thanks.