How to prevent employees from dropping, swapping and adding shifts before a shift start time

Control how far in advance of a shift an employee can drop, swap or pick up a shift.