mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
A grain has no network but the bridge proxy, so an outgoing webhook now leaves only through an API a board admin approved in the Powerbox for that webhook's address: each saved webhook offers "Allow this grain to reach this address". The grant belongs to the destination, not to a person, is found by the URL being sent to, and is approved as the address's parent path so the bridge delivers to the exact address. Every sender - immediate, grouped and stored - goes through webhookFetch, which off Sandstorm, or for an address no grant covers, is exactly the SSRF-guarded fetchSafe. The REST API called with a Sandstorm API key acts as the key's user: in a grain the bridge sets X-Sandstorm-User-Id itself. Only in a grain, only after a WeKan token, only for an existing enabled account, and a key without participate reads only. New strings translated in all languages. Thanks to xet7 !