Harden web control auth and upload inputs#24
Conversation
|
Yes, I agree. This PR hardens the existing auth/upload surfaces, but it does not solve day-to-day account administration on the DiSPIM Gently server. I would keep this PR scoped as the lower-level enforcement/auth correctness layer, then add user management as a separate operator/admin PR. The useful shape is probably:
That would make the server easier to operate without weakening the security hardening in this patch. |
|
Follow-up implemented from this thread in commit What changed:
Verification:
|
|
Follow-up implemented from the user-management thread in commit What changed:
Verification:
Note: Node is not installed in this environment, so I could not run a separate JS syntax check. The admin route/template access path is covered by FastAPI |
Summary
Stacking
This branch is stacked on #23 so the full suite can collect. Once #23 merges into 0.22-dev, this PR should reduce to the auth/upload hardening commit.
Verification