David Cambra
Lead maintainer
This local plugin automates the process of restricting access to course modules based on the course end date. It listens to course update events and automatically applies a "prevent access after course end date" availability restriction to all modules that are tracked for course completion.
Instead of manually editing the deadline for every single activity when a course schedule changes, administrators and teachers can simply update the course end date. The plugin will instantly sync the deadline across all relevant activities.
The plugin works silently in the background.
Global Settings:
Go to Site administration > Plugins > Local plugins > Course End Date Restriction. Here you can toggle the Enable automatic synchronization setting.
Triggering the Sync:
1. Ensure your course has an End date set in the course settings.
2. Add an activity (like a Quiz or Assignment) and configure its Activity completion settings to require a specific condition.
3. Save the activity. The plugin will automatically append the date restriction based on the course end date.
2018051700).This plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.