Sorry about the work permit info but I was thrown by the use of the expression 'resident permit' rather that 'leave to enter.'
I am indebted to Terpe for pointing out my error so 'forcefully'
Skydipper maybe this site will provide the info you seek:-
http://www.ukba.homeoffice.gov.uk