Only allow local folder uploads when SHOW_LOCAL=true

Local folder jobs are now refused with 403 unless the server runs with
SHOW_LOCAL=true, and job kinds other than local or github are rejected.
/api/health reports localFolders so the frontend can hide the option.
Tests enable it explicitly where they index local folders.
This commit is contained in:
Andy Dixon
2026-07-19 15:27:47 +01:00
parent 599ca2235a
commit 9299f3a9c4
3 changed files with 38 additions and 2 deletions
Binary file not shown.