H.R. 5040 would amend the Intelligence Reform and Terrorism Prevention Act of 2004 to prevent prior marijuana use from disqualifying any person from federal employment or from receiving a security clearance. The bill also would require agencies to create a process to review such disqualifications that occurred in the past and would allow denied candidates to request an assessment on whether their disqualification was because of marijuana use.