Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sharing options (legacy) #2351

Merged
merged 2 commits into from
May 2, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions src/core/schema/course.model.schema
Original file line number Diff line number Diff line change
Expand Up @@ -584,8 +584,21 @@
"editorOnly": true,
"inputType": "Checkbox",
"validators": [],
"title": "Share with other users",
"help": "Controls whether or not your colleagues will be able to see this course from the 'Shared courses' option"
"title": "Share with all users",
"help": "Defines whether this course will be editable by all users"
},
"_shareWithUsers": {
"type": "array",
"inputType": "Users",
"items": {
"type": "objectid",
"inputType": "Text",
"required": false,
"editorOnly": true,
"ref": "user"
},
"title": "Share with specific users",
"help": "Defines which individual users are able to edit this course"
},
"themeSettings": {
"type": "object"
Expand Down