mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-06 00:02:13 +00:00
A permissions drawer on a schema row: who owns it, and what each role may do in it. Ownership moves the schema and everything already in it, and writes the default privileges that keep the owner in reach of what the other roles create later — an object belongs to whoever creates it, so that is the only way to cover what does not exist yet. Grants are built as statements — privileges, scope, role — and read back from the catalog, per object and including default privileges, so what the page shows is what the database has. Every change is confirmed against its own SQL and runs in one transaction. The editor takes a target rather than a schema: a table is the same call with one more identifier, for when the table and role sections want it.
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