Add uploadsRoot config flag
When uploads get accelerated without calling rails /authorize
API, they get uploaded on $RAILS_ROOT/public/uploads/tmp
.
New path validations introduced in rails are breaking uploads using custom Gitlab.config.uploads.storage_path
.
This patch introduces a new configuration flag -uploadsRoot
that workhorse can use for uploading files that do not perform an /authorize
API call.
Omnibus MR: omnibus-gitlab!2701 (closed)
Closes gitlab-org/gitlab-ce#49585
/cc @ayufan @jprovaznik
Edited by Alessio Caiazza