fix links in apprenticeships and change event.permission to boolean