mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-06 00:02:13 +00:00
A revoke's objects came from the request, argument types included, and those go into the statement unquoted — so a schema owner could close a routine signature and append SQL that ran as the data table's administrative login. The request now only names an object: what reaches the statement is read back from the catalog, and an object that resolves to nothing is refused. The planners were behind `private`, which community builds carry, so the permissions API answered on a CE binary. They take `enterprise` as well, with a test that pins the refusal in every other edition. Default privileges are read back scoped to one data table's own roles: two data tables can share a database, and a new role of one was inheriting the other's rules.