canvas-lms/lib/api
Xander Moffatt b0f9956b8b allow file upload on behalf of a user
* adds a couple of options to file upload preflight
* replaces use of `@current_user`, ie the logged in or masqueraded user
* allows using the same user for `logged_in_user` since LTI API
  requests aren't associated with a user

closes INTEROP-6473
flag=none

test plan:
* TODO specs?
* use this option in the AGS scores controller in a subsequent commit

Change-Id: I8677ca65c1267ada983fc5e1166995e8a56295b5
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/257341
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Xander Moffatt <xmoffatt@instructure.com>
Product-Review: Xander Moffatt <xmoffatt@instructure.com>
Reviewed-by: Mysti Lilla <mysti@instructure.com>
2021-02-08 19:43:46 +00:00
..
html give wiki-pages a media redirect path 2020-11-30 22:39:37 +00:00
v1 allow file upload on behalf of a user 2021-02-08 19:43:46 +00:00
errors.rb add # frozen_string_literal: true for lib 2020-10-27 20:49:50 +00:00