Moodle availability plugin which lets users restrict resources, activities and sections based on sections being completed.