According to this link eligibility should be passed before security.
Before a security screening is initiated, an IRCC officer will first have to complete the eligibility review on any application for a temporary visa (work and study permits, visitor visas, temporary residence permits) or a...