Files
wekan/server
Lauri Ojansivu ed7aa22642 REST API: none at the Cloud Panel's address for a request without a login.
At the CLOUD address there is no POST /users/login nor /users/register at
all - signed in or not, both being ways of getting a login - and no other
/api/ or /users/ request without one (models/lib/cloudPanel.js
cloudRestDecision): 404, recorded in Admin Panel / Problems as
authn.cloud-rest-off. The gate sits after the bearer token is read and in
front of every route; a request carrying its login in ?authToken= or the
login cookie, as the browser's exports do, is asked too. The inbound email
and bounce webhooks are refused there as well: the panel turns no email
into cards and sends nothing that bounces. Every other host, and every
WeKan without CLOUD, is unchanged.

tests/apiBodyParsing.test.cjs declares the pure module the middleware now
loads; tests/cloudPanel.test.cjs and tests/cloudPanelGate.test.cjs pin the
decision and its place.

Thanks to xet7 !
2026-11-22 18:50:03 +02:00
..
2026-03-22 17:17:48 +02:00
2021-06-14 15:11:21 +02:00