Skip to content

Add _lockType to the example course.json #3835

Description

@swashbuck

Subject of the enhancement

The example course.json in src/course/en does not include _lockType, even though it is a standard course-level property defined in the core course schema (default ""). Most courses set it, and because it is missing from the example it is easy to forget whether it belongs in course.json or config.json, so developers end up checking another course to find out.

Your environment

  • Framework: master

Expected behaviour

The example course.json includes "_lockType": "", showing where the property lives and its default (no locking).

Actual behaviour

The property is absent from the example course.

Suggested Fix

Add "_lockType": "" after instruction in src/course/en/course.json. A blank value keeps the current behaviour.

Posted via collaboration with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions