Files
windmill/backend
Ruben FiszelandClaude Opus 4.7 593522033a fix(auth): require workspace membership for g/ owner tokens (WIN-1986)
WIN-1978's tightening of the `g/<groupname>` owner branch only verified
that the group exists in the target workspace. The default `all` group
is provisioned in every workspace, so any forged `owner=g/all` token
paired with an arbitrary `workspace_id` still passed the existence check
and authenticated as a group user there — including for an email that
was not a member of that workspace.

Additionally require the token holder's email to be a non-disabled
member of the target workspace, mirroring the spirit of the `u/`
branch's `usr` lookup. Adds an integration regression covering both the
forged non-member case and the legitimate member case.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 15:05:40 +00:00
..
…
2026-05-01 20:52:47 +00:00
2026-05-01 20:52:47 +00:00
2026-05-01 20:52:47 +00:00
…
…
…
…
…
…
…
…
2026-02-12 13:19:05 +00:00

Windmill Backend

This folder holds all backend components, the src/ folder only contains files used to build the "root" binary.

Components

name description
windmill-api The API server, exposing functionality to other components and the frontend
windmill-audit Contains audit functionality, allowing different components to record important actions
windmill-common Common code shared by all crates
windmill-queue Contains job & flow queuing functionality, commonly written to by the API server and read from by workers
windmill-worker The worker. Used to process and execute flows & jobs.
parsers Contains code to parse signatures in different langauges.

Compile sqlx for offline ci

cargo sqlx prepare --workspace -- --bin windmill --features enterprise