mirror of
https://github.com/discourse/discourse.git
synced 2025-03-12 09:55:20 +08:00

This commit moves some code out of UploadController#show_secure so it can be reused in other controllers if a secure upload needs to have permission checks run. Co-authored-by: Martin Brennan <martin@discourse.org>