Go to file
Martin Yosifov 5c90ce272a Add settings to disable signature & auto response for students
closes OUT-6300
flag=inbox_settings

Test plan:
- Go to Site Admin->Features and enable Inbox Settings FF
- Go to Account->Settings and verify that when Enable Inbox
Signature Block is not checked, Disable Inbox Signature Block
for Students is locked and cannot be checked
- Verify that when Enable Inbox Signature Block is checked,
Disable Inbox Signature Block for Students is not locked
and can be checked
- Repeat above for Enable Inbox Auto Response and Disable
Inbox Auto Response for Students
- Enable Inbox Signature Block, Inbox Signature Block for
Students, Inbox Auto Response and Disable Inbox Auto Response
for Students
- Create user and course, enroll user as student in that
course, act as user and confirm enrollment, then go to Inbox
- Verify that there is no Inbox Settings button
- Create another course, enroll user as teacher in that
course, act as user and confirm enrollment, then go to Inbox
- Verify that there is Inbox Settings button; click on
that button and in the modal verify that both Auto
Response and Signature settings are available
- Create another user, act as that user and go to Inbox
- Verify that there is no Inbox Settings button
- Start rails console and make the second user Account Admin
account = switch_to_shard! 'shard name'
user = User.find('put user id here')
role = Role.get_built_in_role("AccountAdmin",
root_account_id: account.id)
account.account_users.create!(user:, role:)
- In Canvas, act as that user and go to Inbox
- Verify that there is Inbox Settings button; click on
that button and in the modal verify that both Auto
Response and Signature settings are available
- Add that second user as observer in a course,
then act as user and go to Inbox
- Verify that there is no Inbox Settings button

Change-Id: I3d984730f6c4a52c807b0c6a98d14e9cfb9d7566
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/348208
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jason Anderson <jason.anderson@instructure.com>
QA-Review: Jason Anderson <jason.anderson@instructure.com>
Product-Review: Chrystal Langston <chrystal.langston@instructure.com>
2024-06-06 19:36:32 +00:00
.github
.storybook reduce use of babel 2023-12-24 00:34:28 +00:00
.vscode Add Registration Wizard state management 2024-06-06 16:02:14 +00:00
Gemfile.d bundle update rubocop 2024-05-30 16:20:52 +00:00
app Add settings to disable signature & auto response for students 2024-06-06 19:36:32 +00:00
bin remove bundle binstub 2024-01-18 17:16:15 +00:00
build update bundler in dockerfiles 2024-06-05 21:06:07 +00:00
config Re-add file verifiers to quizzes with feature flag 2024-06-06 15:30:58 +00:00
db/migrate remove Cassandra support for page views 2024-06-05 15:15:34 +00:00
doc remove Cassandra support for page views 2024-06-05 15:15:34 +00:00
docker-compose remove all code relating to inst api gateway 2024-04-09 16:55:37 +00:00
gems remove Cassandra support for page views 2024-06-05 15:15:34 +00:00
hooks Politely suggest that new .js(x) files be in TypeScript 2023-11-14 03:07:16 +00:00
inst-cli remove Cassandra support for page views 2024-06-05 15:15:34 +00:00
jest colocate some QUnit tests 2024-06-05 17:32:28 +00:00
lib Re-add file verifiers to quizzes with feature flag 2024-06-06 15:30:58 +00:00
log
packages Re-add file verifiers to quizzes with feature flag 2024-06-06 15:30:58 +00:00
patches patch format-message to fix CJS issue 2024-01-23 02:22:22 +00:00
public unify SpeedGrader text 2024-05-29 18:41:43 +00:00
script Force by_role linter to give -1 and not -2 2024-06-03 21:14:39 +00:00
spec Add settings to disable signature & auto response for students 2024-06-06 19:36:32 +00:00
tmp
ui Add settings to disable signature & auto response for students 2024-06-06 19:36:32 +00:00
ui-build fix analytics hub lunch_url 2024-05-07 16:41:42 +00:00
vendor/gems/bundler-multilock bundle update bundler-multilock 2024-05-19 19:58:16 +00:00
.codeclimate.yml
.dependency-cruiser.js replace esmac with Dependency Cruiser 2024-04-25 19:35:38 +00:00
.devcontainer.json Add VSCode devcontainer configuration 2023-10-11 14:57:46 +00:00
.dive-ci
.dockerignore Create prod dockerfile for easy OSS use 2024-06-04 17:23:33 +00:00
.editorconfig
.eslintignore upgrade to jquery 3.5 2024-03-19 19:28:16 +00:00
.eslintrc.js colocate some QUnit tests 2024-06-05 17:32:28 +00:00
.git-blame-ignore-revs rubocop: update .git-blame-ignore-revs 2024-01-31 03:23:03 +00:00
.gitignore Add ICE design for Announcements desktop view 2024-05-24 10:19:06 +00:00
.gitmessage
.groovylintrc.json
.i18nignore
.i18nrc
.irbrc
.lintstagedrc.js
.npmrc
.nvmrc Upgrade to node 18 2023-09-11 17:28:59 +00:00
.prettierrc
.rspec
.rubocop.yml rubocop: enable Rails/NotNullColumn 2024-04-04 14:39:57 +00:00
.sentryignore
.stylelintrc
CONTRIBUTING.md
COPYRIGHT
Courses add all the custom recurrence UI 2023-07-14 12:55:32 +00:00
Dockerfile update bundler in dockerfiles 2024-06-05 21:06:07 +00:00
Dockerfile.githook
Dockerfile.jenkins update bundler in dockerfiles 2024-06-05 21:06:07 +00:00
Dockerfile.jenkins-cache add Rails 7.1 lockfiles for embedded gems 2024-02-14 22:30:10 +00:00
Dockerfile.jenkins.final Unfreze bundle when using gem overrides 2023-08-24 17:25:57 +00:00
Dockerfile.jenkins.js
Dockerfile.jenkins.linters Unfreze bundle when using gem overrides 2023-08-24 17:25:57 +00:00
Dockerfile.jenkins.ruby-runner keep lockfiles in sync as part of `bundle` commands 2023-05-16 18:39:21 +00:00
Dockerfile.jenkins.webpack-assets
Dockerfile.jenkins.webpack-builder
Dockerfile.jenkins.webpack-cache
Dockerfile.jenkins.webpack-runner replace JS_BUILD_NO_UGLIFY; enable sourcemaps in jenkins 2024-01-29 20:33:23 +00:00
Dockerfile.jenkins.yarn-runner remove --ignore-optional flag 2024-01-17 23:34:02 +00:00
Dockerfile.package-translations remove python dep from package-translations build 2023-10-12 14:44:59 +00:00
Dockerfile.production update bundler in dockerfiles 2024-06-05 21:06:07 +00:00
Dockerfile.puma update bundler in dockerfiles 2024-06-05 21:06:07 +00:00
Gemfile bundle update rubocop 2024-05-30 16:20:52 +00:00
Gemfile.lock remove Cassandra support for page views 2024-06-05 15:15:34 +00:00
Gemfile.rails71.lock remove Cassandra support for page views 2024-06-05 15:15:34 +00:00
Jenkinsfile only trigger cystalball-map build from main-postmerge 2024-04-25 03:29:53 +00:00
Jenkinsfile.axe
Jenkinsfile.cassandra
Jenkinsfile.contract-tests Remove Canvas Outcome Pact Tests 2023-11-29 18:00:03 +00:00
Jenkinsfile.coverage
Jenkinsfile.coverage-js
Jenkinsfile.crystalball
Jenkinsfile.dive
Jenkinsfile.docker-smoke
Jenkinsfile.docker-sync upgrade chromedriver to latest version 120 2024-01-22 18:56:21 +00:00
Jenkinsfile.dynamodb
Jenkinsfile.js update chrome version for JS tests 2024-03-27 17:26:46 +00:00
Jenkinsfile.junit-uploader
Jenkinsfile.master-bouncer-check-all
Jenkinsfile.package-translations
Jenkinsfile.postgres
Jenkinsfile.redis
Jenkinsfile.rspecq specTimings isNumber check 2023-06-14 00:47:13 +00:00
Jenkinsfile.selenium.flakey_spec_catcher
Jenkinsfile.selenium.performance.chrome
Jenkinsfile.test-subbuild
Jenkinsfile.vendored-gems
Jenkinsfile.xbrowser
LICENSE
README.md
Rakefile
SECURITY.md
bower.json
code_of_conduct.md
config.ru
docker-compose.new-jenkins-flakey-spec-catcher.yml
docker-compose.new-jenkins-js.yml
docker-compose.new-jenkins-package-translations.yml
docker-compose.new-jenkins-selenium.yml upgrade chromedriver to latest version 120 2024-01-22 18:56:21 +00:00
docker-compose.new-jenkins.consumer.yml
docker-compose.new-jenkins.vendored-gems.yml
docker-compose.new-jenkins.yml Use shared db for dynamo in Jenkins 2024-01-24 15:34:21 +00:00
docker-compose.spring.yml remove CommonJS from k5uploader 2024-02-22 20:18:45 +00:00
docker-compose.yml
gulpfile.js replace JS_BUILD_NO_UGLIFY; enable sourcemaps in jenkins 2024-01-29 20:33:23 +00:00
issue_template.md
jest.config.js use JSC in Jest instead of Babel 2024-01-18 00:11:45 +00:00
karma.conf.js handle .jsx files in karma 2023-08-01 20:16:15 +00:00
package.json upgrade big.js 2024-05-29 21:57:11 +00:00
renovate.json Configure Renovate 2024-03-29 19:25:01 +00:00
rspack.config.js replace webpack with rspack 2024-02-08 23:02:33 +00:00
tsconfig.json use JSC in Jest instead of Babel 2024-01-18 00:11:45 +00:00
vitest.config.ts Add analytics hub as remote module 2024-04-26 13:26:39 +00:00
vitest.workspace.ts Install Vitest 2023-11-17 14:19:22 +00:00
yarn.lock upgrade big.js 2024-05-29 21:57:11 +00:00

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.