mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-06 00:02:13 +00:00
The path in the config staying the same said nothing: a postgres resource is editable in place, so its host, database or user could change underneath roles whose logins and grants live in the database it used to name. The identity a connection resolves to is what has to hold still while those roles exist; a password rotation is not an identity change and stays allowed. Also generalizes the admin guard: what 'admin' holds is what every role here connects through, on the database and on schema public alike, so a revoke naming it is refused wherever it is aimed.
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