![]() fixes CNVS-21854 Moves permission-based scope concatenation from FilesController#api_index to Attachments::ScopedToUser#scope. Updates Folder permission policy to delegate permissions for :read_as_admin & :manage_files to its context. Add Folder.from_context_or_id to encapsulate folder finding logic from FilesController#api_index. test plan: - Regression testing for API files index action. Change-Id: I1dc855cc16a98969482a72d251848c47e300b05c Reviewed-on: https://gerrit.instructure.com/58415 Tested-by: Jenkins Reviewed-by: Matt Berns <mberns@instructure.com> QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com> Product-Review: John Corrigan <jcorrigan@instructure.com> |
||
---|---|---|
.. | ||
local_storage.rb | ||
s3_storage.rb | ||
scoped_to_user.rb | ||
verification.rb |