cbd207736b
Test Plan: 1 - Run the migrations and validate that the `read_only` column exists on the `custom_gradebook_columns` table, with a default of false 2 - Create a new CustomGradebookColumn through the API and validate that it accepts and persists the `read_only` parameter. Example curls: Create the column: curl -H "Authorization: Bearer <token>" \ http://localhost:3000/api/v1/courses/:id/custom_gradebook_columns \ -X POST \ -F "title=ReadOnly" \ -F "read_only=true" Validate the columns: curl -H "Authorization: Bearer <token>" \ http://localhost:3000/api/v1/courses/:id/custom_gradebook_columns/ 3 - Open the gradebook for a course and validate that you cannot edit the `read_only` columns in both the old and new gradebooks. (Tabbing should still work as normal.) 4 - Go to the Individual View. Under Global Settings, check Show Notes in Student Info. Under Content Selection, select a student. Confirm that you can only edit the custom columns that were not created as read_only. refs PFS-9913, PFS-9914, PFS-10003 Change-Id: I18005cc0eaf19202c00a5d79c2a04421b5d12a5c Reviewed-on: https://gerrit.instructure.com/139625 Reviewed-by: Keith T. Garner <kgarner@instructure.com> Reviewed-by: Jeremy Neander <jneander@instructure.com> Tested-by: Jenkins Product-Review: Ian Morris <ianm@instructure.com> QA-Review: Aiona Hernandez <ahernandez@instructure.com> |
||
---|---|---|
Gemfile.d | ||
app | ||
bin | ||
build | ||
client_apps | ||
config | ||
db/migrate | ||
doc | ||
docker-compose | ||
frontend_build | ||
gems | ||
jest | ||
lib | ||
packages/canvas-planner | ||
public | ||
script | ||
spec | ||
.babelrc | ||
.bowerrc | ||
.codeclimate.yml | ||
.dockerignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.i18nignore | ||
.i18nrc | ||
.jshintrc | ||
.npmrc | ||
.nvmrc | ||
.prettierrc | ||
.rubocop.yml | ||
.selinimumignore | ||
.stylelintrc | ||
.travis.yml | ||
CONTRIBUTING.md | ||
COPYRIGHT | ||
Dockerfile | ||
Dockerfile-production | ||
Gemfile | ||
LICENSE | ||
README.md | ||
Rakefile | ||
bower.json | ||
code_of_conduct.md | ||
config.ru | ||
docker-compose.jenkins.yml | ||
docker-compose.override.yml | ||
docker-compose.yml | ||
gulpfile.js | ||
issue_template.md | ||
jest.config.js | ||
karma.conf.js | ||
package.json | ||
schema.graphql | ||
webpack.config.js | ||
webpack.production.config.js | ||
webpack.test.config.js | ||
yarn.lock |
README.md
Canvas LMS
Canvas is a modern, open-source LMS developed and maintained by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.
Please see our main wiki page for more information
Installation
Detailed instructions for installation and configuration of Canvas are provided on our wiki.