Go to file
Matthew Lemon bcdbfb58e1 fix conversations permission bug for groups
When the permission to 'send messages to individual course members' is
disabled, students are no longer able to send Canvas Conversation
messages to group members within the same course-level group using the
group as the context

Test Plan
- In your account permissions, disable "Send messages to individual
  course members" for the student role
- Enroll two students into a course and into the same course-level group
- As one of the students, select your group from the course selector in
  the inbox
- Compose a message leaving the "Course" field as "Select Course"
- Click the "Contacts" icon and select the other student in the group
- Attempt to send the message and notice the red tooltip stating that
  messages can't be sent to users in the selected group

fixes KNO-32
flag=none

Change-Id: Ifa1e8021573d3338a16c95795437576b2d4c32f6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/221912
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Steven Burnett <sburnett@instructure.com>
QA-Review: Ben Nelson <bnelson@instructure.com>
Product-Review: Matthew Lemon <mlemon@instructure.com>
2020-01-07 20:34:30 +00:00
.github update PR auto assignments 2019-10-24 21:19:48 +00:00
Gemfile.d update graphql/graphql-batch 2019-12-18 18:01:49 +00:00
app fix conversations permission bug for groups 2020-01-07 20:34:30 +00:00
bin Generate schema.graphql on demand 2020-01-06 21:12:42 +00:00
build Generate schema.graphql on demand 2020-01-06 21:12:42 +00:00
client_apps Add user_ids to quiz statistics endpoint 2019-12-04 19:24:27 +00:00
config Send emails when manually generated key is created 2020-01-06 21:08:45 +00:00
db/migrate Send emails when manually generated key is created 2020-01-06 21:08:45 +00:00
doc Remove Live Events docs in favor of in-tool docs 2020-01-06 19:00:37 +00:00
docker-compose Add configuration and scripts for replication. 2019-12-20 22:21:12 +00:00
frontend_build improve load time for srgb by removing translation import 2019-12-19 18:36:37 +00:00
gems Add dependency resolution to autoextend 2019-12-16 21:38:14 +00:00
hooks fix pre-commit hook with unfixable eslint error 2018-11-27 23:28:12 +00:00
jest spec: fix handlebars transform for jest tests 2019-09-05 15:03:54 +00:00
lib Revert "Do not include non-visible fields in schema.graphql" 2020-01-06 22:41:15 +00:00
packages Update InstUI imports for canvas planner 2020-01-07 19:14:21 +00:00
pact Include context_name in planner item response 2018-08-29 22:20:52 +00:00
public submit lti item from more tab without trouble 2020-01-07 18:30:08 +00:00
script Add configuration and scripts for replication. 2019-12-20 22:21:12 +00:00
spec fix conversations permission bug for groups 2020-01-07 20:34:30 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.codeclimate.yml disable ESLint in code climate 2017-02-14 17:47:39 +00:00
.dockerignore Create shared translation infrastructure for packages 2019-11-06 22:42:03 +00:00
.editorconfig Add EditorConfig configuration file to help maintain code style 2016-11-15 20:08:55 +00:00
.eslintignore Run prettier on packages/ 2019-10-11 19:29:16 +00:00
.eslintrc.js Remove prettier whitelist 2019-10-11 19:29:31 +00:00
.gitignore Generate schema.graphql on demand 2020-01-06 21:12:42 +00:00
.gitmessage prepend some blank lines to .gitmessage 2019-08-09 16:12:53 +00:00
.i18nignore bump rails 3 to github branch for ruby 2.2 compatibility 2015-02-18 22:55:20 +00:00
.i18nrc upgrade to node 6 2016-08-09 23:37:07 +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 Bump to Node 10 2019-03-22 17:29:36 +00:00
.prettierrc Add .prettierrc so it matches our existing code 2017-11-03 16:21:50 +00:00
.rubocop.yml spec: remove ExpectChange and TimesMap 2018-08-31 14:53:41 +00:00
.selinimumignore Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
.stylelintrc Lint for css that will break RTL 2018-10-17 20:21:25 +00:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md Add CLA FAQ from legal 2018-01-22 16:41:44 -05:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Dockerfile Fix `bundler lock --update` step in Dockerfile 2019-11-12 22:36:51 +00:00
Dockerfile-production update yarn in docker to 1.19.1 2019-10-17 15:21:58 +00:00
Dockerfile.githook Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
Dockerfile.package-translations Create shared translation infrastructure for packages 2019-11-06 22:42:03 +00:00
Gemfile drop rails 5.1 2019-08-01 14:09:31 +00:00
Jenkinsfile spec: improve error reporting 2019-12-20 20:41:37 +00:00
Jenkinsfile.contract-tests allow the docker-cleanup script to fail 2019-12-12 16:26:24 +00:00
Jenkinsfile.js add canvas quizzes tests 2019-12-16 22:54:30 +00:00
Jenkinsfile.linters spec: improve error reporting 2019-12-20 20:41:37 +00:00
Jenkinsfile.package-translations allow the docker-cleanup script to fail 2019-12-12 16:26:24 +00:00
Jenkinsfile.rspec spec: test incresing the node count 2019-12-19 20:34:37 +00:00
Jenkinsfile.selenium.chrome increase reruns for selenium to help flaky specs pass 2019-12-20 17:11:24 +00:00
Jenkinsfile.selenium.performance.chrome Spec: Increase plugin timeout for perf build 2019-12-20 17:32:45 +00:00
Jenkinsfile.test-subbuild update the Jenkinsfile to pass a CANVAS_LMS_REFSPEC is requested 2019-12-06 23:06:05 +00:00
Jenkinsfile.vendored-gems allow the docker-cleanup script to fail 2019-12-12 16:26:24 +00:00
Jenkinsfile.xbrowser allow the docker-cleanup script to fail 2019-12-12 16:26:24 +00:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md Update README.md since Canvas is still modern 2016-12-15 03:18:28 +00:00
Rakefile require present value for knapsack enabled env 2019-09-17 17:11:44 +00:00
babel.config.js Fix the build 2019-09-17 21:26:07 +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 remove extra logging to debug Passenger connection orphan issue 2017-07-14 16:27:03 +00:00
docker-compose.jenkins.yml update rce-api version on jenkins second attempt 2019-07-19 20:24:19 +00:00
docker-compose.new-jenkins-karma.yml Rename build/new-jenkins/frontend/ to js/ 2019-12-03 00:56:38 +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 spec: add wait_for_page_load before the expect 2019-10-23 19:27:19 +00:00
docker-compose.new-jenkins-web.yml Rename linters-and-js build to frontend 2019-09-05 20:15:10 +00:00
docker-compose.new-jenkins.yml Fix standalone performance build for nightly runs 2019-12-12 22:42:11 +00:00
docker-compose.spring.yml add a spring docker-compose config 2019-08-19 13:48:15 +00:00
docker-compose.yml Use redis:alpine 2017-07-31 22:31:40 +00:00
gulpfile.js fix polyfill for old browsers 2019-09-09 20:00:17 +00:00
issue_template.md Make issue template disclaimer a comment 2018-05-01 15:00:27 +00:00
jest.config.js Allow running jest tests from plugins 2019-12-03 16:55:17 +00:00
karma.conf.js upgrade webpack to v4 2019-05-16 15:59:04 +00:00
package.json Update InstUI imports for canvas planner 2020-01-07 19:14:21 +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 upgrade webpack to v4 2019-05-16 15:59:04 +00:00
yarn.lock Update InstUI imports for canvas planner 2020-01-07 19:14:21 +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.