Capabilities/moodle/course:togglecompletion
From MoodleDocs
- This allows a user to manually mark activities as complete when using Activity completion
- This capability is allowed for the default authenticated user role
- This capability is available in Moodle 3.6.3 onwards