It's a truly good question! Well it will take some time for UK to fully leave, I'd say we should be fine for another year or two.
At least, from what's being said (by at least one Brexit supporting politician) it could be as late as 2020 before any "leave" legislation regarding migration/right to work actually kicks in.