canvas-lms/script
James Williams bb6bd0aeac add permissions variable expansion
also keeps it undocumented for now

test plan:
* test an lti launch in a course using a variable
 in the format:

 $Canvas.membership.permissions<permission1,permission2,..>

 with a comma-separated list in between the brackets
 corresponding to course-level permissions
 (see doc/api/roles.html#method.role_overrides.show), e.g.

 $Canvas.membership.permissions<read_forum,moderate_forum>

 these are the list of permissions to check
 when the variable is expanded it should substitute it with a
 comma-separated list of permissions filtered to those
 that the user has been granted within the course

closes #PLYT-1796

Change-Id: I1c039e04318fcfe8ca5ee450e608bd3fb2affe6b
Reviewed-on: https://gerrit.instructure.com/194797
Tested-by: Jenkins
QA-Review: Nathan Mills <nathanm@instructure.com>
Product-Review: James Williams <jamesw@instructure.com>
Reviewed-by: Nathan Mills <nathanm@instructure.com>
Reviewed-by: Marc Phillips <mphillips@instructure.com>
2019-06-12 12:13:28 +00:00
..
prepare create log files for scripts 2018-10-11 16:23:54 +00:00
brakeman dry up linters 2017-01-10 19:44:48 +00:00
canvas_init oh whoops, bash might not always be the default shell 2011-02-11 12:33:24 -07:00
canvas_update create log files for scripts 2018-10-11 16:23:54 +00:00
common.sh create log files for scripts 2018-10-11 16:23:54 +00:00
consume_consul_events trigger consul event of HA Cache invalidation 2017-09-26 15:59:04 +00:00
delayed_job use correct class for delayed jobs CLI 2016-06-08 16:33:41 +00:00
docker_dev_setup.sh Match services docker workflow. 2018-08-14 17:08:58 +00:00
docker_dev_update.sh Match services docker workflow. 2018-08-14 17:08:58 +00:00
docker_pull_image.sh Copy yarn.lock in docker_pull_image.sh 2017-07-14 20:19:15 +00:00
eslint move canvas-rce to canvas-lms/packages/canvas-rce 2018-05-01 13:46:18 +00:00
generate_js_coverage add json version of javascript coverage report to build 2019-02-26 16:34:58 +00:00
generate_lti_variable_substitution_markdown add permissions variable expansion 2019-06-12 12:13:28 +00:00
install_hooks Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
lint_commit_message Add length exemption for revert commit messages 2017-04-21 04:03:36 +00:00
linter.rb Add copyright message to remaining .rb files 2018-03-19 13:38:50 +00:00
nuke_node.sh add packages/*/node_modules to nuke_node script 2018-09-12 04:12:29 +00:00
process_incoming_emails extract incoming mail into gem 2014-04-25 23:06:02 +00:00
rails fix double requiring of application.rb 2014-09-09 00:42:50 +00:00
render_json_lint to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
rlint dry up linters 2017-01-10 19:44:48 +00:00
rspec-queue Attempt one retry one unknown worker crash 2018-11-20 18:29:34 +00:00
rspec-queue-with-retries Remove retry on ChromeDriver worker crash 2019-04-29 21:19:05 +00:00
stylelint dry up linters 2017-01-10 19:44:48 +00:00
tail_kinesis upgrade to aws-sdk v3 2017-05-26 15:30:08 +00:00
tatl_tael copyright linter auto correct, refs SD-2295 2017-05-11 20:06:08 +00:00
upgrade-instructure-ui upgrade instUI to 5.38.0 2019-01-07 21:24:50 +00:00
xsslint.js Fix up xsslint to work 2018-11-12 16:42:28 +00:00