With this feature, a teacher may mark an activity complete on behalf of a student from the Activity completion report if they have the capability “Override activity completion” (which is enabled by default).
Please note that this is a new capability that is available only for Moodle 3.4 and up.
Below are the instructions to override a student's activity completion manually.
Step 1. Login as teacher
Step 2. Enter into the relevant course under which the activity is added.
Step 3. Click the cog on the right-hand side.
Step 4. Click More from the drop-down list.
Step 5. Select “Activity Completion” from the Reports section.
Step 6. You will now find a list of all the enrolled users and the activities that are available.
Filter the user for whom you would like to mark the Activity as complete by using the "First name" and "Surname" filters.
Step 7. Click the checkbox that corresponds to the activity and the user. Once you click, a pop up "Confirm" box will appear.
Step 8. Click “Save changes” to mark the activity as complete.
Step 9. The activity will now be marked as complete.
Note that when they appear complete, the box has a red border to indicate that it is a teacher-marked completion.