hedgedoc/lib/web
Sheogorath d097211c54
Fix unauthenticated file uploads
This patch fixes the issue of unauthenticated users, being able to
upload files, even when anonymous edits are disabled.

It's implemented by blocking uploads when either `allowAnonymous` is set
to `false` for all unauthenticated users, unless `allowAnonymousEdits`
is set to true, to make sure anonymous editors still experience the full
feature set.

Signed-off-by: Christoph Kern <sheogorath@shivering-isles.com>
2020-12-27 19:51:01 +01:00
..
auth Fix crash when OAuth2 config parameters are missing 2020-11-30 15:04:30 +01:00
imageRouter Fix unauthenticated file uploads 2020-12-27 19:51:01 +01:00
middleware
note
baseRouter.js
historyRouter.js
statusRouter.js
userRouter.js
utils.js