Go to file
Nate Armstrong 6ea4fb907b Fix k5 detail view for multi role teachers
Teachers that are also students should not get the
K5 detail view.

fixes LS-2387
flag=none

Test plan:
- Have a user that is enrolled in a k5 subject course as
  both a student and a teacher
- View the subject course and click Manage Subject
- The course nav should be visible

Change-Id: I7b2c381a61418cd95c5f911c3ae9f151bb7b8a03
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/270149
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Nate Armstrong <narmstrong@instructure.com>
Reviewed-by: Robin Kuss <rkuss@instructure.com>
QA-Review: Robin Kuss <rkuss@instructure.com>
2021-07-30 15:08:41 +00:00
.github update github pr auto-assignees 2020-09-24 20:00:41 +00:00
.storybook Fix issue with ||= on storybook/preview.js 2021-06-16 14:52:29 +00:00
Gemfile.d bump inst_statsd 2021-07-29 21:29:39 +00:00
app Fix k5 detail view for multi role teachers 2021-07-30 15:08:41 +00:00
bin add frozen_string_literal comment to binaries 2021-03-30 18:14:03 +00:00
build async pulsar message producer 2021-07-26 17:50:08 +00:00
config set `embedded_release_notes` to `pending_enforcement: true` 2021-07-29 18:26:24 +00:00
db/migrate Check if_not_exists on migration 2021-07-21 21:30:56 +00:00
doc Add Allowed File Extensions Variable Expansion 2021-07-28 18:37:02 +00:00
docker-compose Revert "correct the docker dev documentation" 2021-06-29 13:53:55 +00:00
engines [DEPRECATE] no longer allow writing to ONLY cassandra for auditors 2021-06-07 17:03:59 +00:00
frontend_build rework handlebars dependency on brandable_css 2021-07-14 22:19:20 +00:00
gems avoid allocating an entire callback chain everytime we run callbacks 2021-07-27 00:58:50 +00:00
hooks fix pre-commit hook with unfixable eslint error 2018-11-27 23:28:12 +00:00
jest rework handlebars dependency on brandable_css 2021-07-14 22:19:20 +00:00
lib Remove N+1s from membership service 2021-07-29 18:06:55 +00:00
log Update parallel_runtime_rspec.log from build 226 2021-07-26 20:42:29 +00:00
packages Cleave files browser folders API 2021-07-28 20:21:29 +00:00
public add no outcomes message to manage view 2021-07-26 13:37:38 +00:00
script Provide option to force rebuild containers 2021-06-30 19:29:16 +00:00
spec Fix k5 detail view for multi role teachers 2021-07-30 15:08:41 +00:00
tmp Alpine canvas-lms based image 2020-07-15 17:21:56 +00:00
ui fix console errors from overlapping breakpoints 2021-07-30 04:05:40 +00:00
.codeclimate.yml disable ESLint in code climate 2017-02-14 17:47:39 +00:00
.dive-ci Spec: Add dive build 2020-03-26 14:52:06 +00:00
.dockerignore modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
.editorconfig Add EditorConfig configuration file to help maintain code style 2016-11-15 20:08:55 +00:00
.eslintignore add WEBPACK_ANALYSIS and WEBPACK_PEDANTIC flags 2021-05-05 19:59:46 +00:00
.eslintrc.js Update eslint to v7 2021-05-20 18:28:51 +00:00
.gitignore InstID tokens, part 1: generation 2021-07-19 20:58:26 +00:00
.gitmessage prepend some blank lines to .gitmessage 2019-08-09 16:12:53 +00:00
.groovylintrc.json fix linter rules 2021-05-19 15:43:33 +00:00
.i18nignore (re) decentralize i18nliner configuration 2021-03-10 18:52:49 +00:00
.i18nrc rename some things 2021-04-06 01:12:49 +00:00
.lintstagedrc.js Remove prettier whitelist 2019-10-11 19:29:31 +00:00
.npmrc fix brand config previewing and skipping 2015-10-27 16:16:15 +00:00
.nvmrc upgrade to node14 2021-01-27 15:33:52 +00:00
.prettierrc restore prettier rules to match pre-2.0 defaults 2021-02-09 17:03:14 +00:00
.rubocop.yml require latest IRB 2021-04-05 16:03:14 +00:00
.stylelintrc modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md Remove more freenode references 2021-06-02 16:18:53 +00:00
COPYRIGHT
Dockerfile upgrade ruby version in Dockerfiles 2021-07-15 13:31:44 +00:00
Dockerfile.githook Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
Dockerfile.jenkins upgrade ruby version in Dockerfiles 2021-07-15 13:31:44 +00:00
Dockerfile.jenkins-cache remove plugin symlinks 2021-05-20 17:21:08 +00:00
Dockerfile.jenkins.final simplify Dockerfile template generation 2020-12-10 17:28:58 +00:00
Dockerfile.jenkins.karma-builder Properly support ruby 2.7 2021-06-11 21:06:37 +00:00
Dockerfile.jenkins.karma-runner disable translations for Jenkins build 2021-02-08 16:03:06 +00:00
Dockerfile.jenkins.linters-final remove need to mount .git directory as volume for Linters 2021-05-10 18:57:42 +00:00
Dockerfile.jenkins.linters-runner stop using buildkit for linters image 2021-04-12 19:19:32 +00:00
Dockerfile.jenkins.webpack-builder split yarn from webpack-builder into yarn-runner 2020-12-14 18:49:51 +00:00
Dockerfile.jenkins.webpack-cache disable translations for Jenkins build 2021-02-08 16:03:06 +00:00
Dockerfile.jenkins.yarn-runner upgrade & dedupe node packages 2021-06-21 19:46:52 +00:00
Dockerfile.package-translations More translations build improvements 2021-06-30 15:32:09 +00:00
Gemfile Properly support ruby 2.7 2021-06-11 21:06:37 +00:00
Jenkinsfile report feature flag changes for approval 2021-07-26 13:40:27 +00:00
Jenkinsfile.axe Add HTML link to periodic #canvas-axe-build alerts 2021-07-01 19:35:31 +00:00
Jenkinsfile.cassandra fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.contract-tests convert contract tests to using docker bridge network 2021-06-15 16:37:49 +00:00
Jenkinsfile.dive fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.docker-smoke Revert "asset install in Dockerfile" 2021-06-29 13:36:09 +00:00
Jenkinsfile.docker-sync sync ruby-passenger 2.7 image 2021-06-11 14:13:23 +00:00
Jenkinsfile.dynamodb fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.js convert JS job to EKS-compatible syntax 2021-06-07 23:05:24 +00:00
Jenkinsfile.master-bouncer-check-all fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.package-translations More translations build improvements 2021-06-30 15:32:09 +00:00
Jenkinsfile.parallel_logs fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.postgres fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.redis fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.selenium-chrome move selenium-chrome build to helper job 2020-12-08 14:41:39 +00:00
Jenkinsfile.selenium.flakey_spec_catcher remove calls to withStarlordDockerLogin 2021-06-23 22:02:41 +00:00
Jenkinsfile.selenium.performance.chrome fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.test-subbuild fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.vendored-gems remove docker_base podTemplate usage, cleanup nodeRequirements usage 2021-06-22 15:19:48 +00:00
Jenkinsfile.xbrowser fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
LICENSE
README.md Update README.md since Canvas is still modern 2016-12-15 03:18:28 +00:00
Rakefile add frozen_string_literal comment to Gemfile and Rakefile 2021-03-30 17:51:26 +00:00
babel.config.js stop babel warnings when building core canvas 2021-06-25 21:14:44 +00:00
bower.json Move k5uplodaer to /packages 2019-05-10 18:30:51 +00:00
code_of_conduct.md contributor code of conduct 2014-12-23 18:13:59 +00:00
config.ru add frozen_string_literal_comment to config files 2021-03-30 18:59:58 +00:00
docker-compose.new-jenkins-flakey-spec-catcher.yml update fsc to go into the plugin directory to do tests 2020-06-17 14:58:09 +00:00
docker-compose.new-jenkins-js.yml disable translations for Jenkins build 2021-02-08 16:03:06 +00:00
docker-compose.new-jenkins-package-translations.yml Create shared translation infrastructure for packages 2019-11-06 22:42:03 +00:00
docker-compose.new-jenkins-selenium.yml update jenkins for canvas-rce-api image 2020-12-07 16:40:09 +00:00
docker-compose.new-jenkins.consumer.yml skip uglify js / source maps on pre-merge builds v2 2020-08-11 21:05:54 +00:00
docker-compose.new-jenkins.pulsar.yml stop using a pulsar volume in jenkins build 2021-05-05 22:46:26 +00:00
docker-compose.new-jenkins.vendored-gems.yml extract canvas::redis to canvas_cache 2021-03-02 14:38:55 +00:00
docker-compose.new-jenkins.yml Revert "split rspec / selenium stages by thread" 2021-05-18 13:55:22 +00:00
docker-compose.spring.yml modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
docker-compose.yml Revert "asset install in Dockerfile" 2021-06-29 13:36:09 +00:00
gulpfile.js replace node-sass with dart-sass 2021-07-15 17:35:35 +00:00
issue_template.md Update community urls to reflect platform move 2020-08-12 20:17:02 +00:00
jest.config.js Reorganize some of the CanvasRce properties 2021-07-10 13:23:49 +00:00
karma.conf.js align all JS output directories to single directory on Jenkins 2021-05-20 17:28:03 +00:00
package.json Position and mount Mentions component 2021-07-26 21:06:42 +00:00
ubuntu.development.Dockerfile REQUIRE bundler 2.2.17 2021-05-24 22:49:05 +00:00
ubuntu.production.Dockerfile rework handlebars dependency on brandable_css 2021-07-14 22:19:20 +00:00
webpack.config.js Opt our js build tooling dirs into prettier 2018-11-07 22:46:16 +00:00
webpack.test.config.js remove plugin symlinks 2021-05-20 17:21:08 +00:00
yarn.lock Position and mount Mentions component 2021-07-26 21:06:42 +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.