Repository navigation
feat(authz)!: extend OpenFGA tabular entities with WarehouseId - #1329
Conversation
|
@CodeRabbit review |
✅ Actions performedReview triggered.
|
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (2)
crates/lakekeeper/src/api/management/v1/warehouse/mod.rs (1)
815-823: Do not coerce TabularId → TableId; reject non-table targets or handle views
UndropTabularsRequest.targetsisVec<TabularId>, but this code maps every entry toTableIdunconditionally. If a View ID is provided, this will either fail at compile time (no From impl) or mis-handle the request at runtime. GivenCatalog::clear_tabular_deleted_at(&[TableId], ...)only supports tables, either:
- Reject non-table targets with 400, or
- Split targets by type and add a view undrop path.
Proposed minimal guard (reject views for now):
- let tabs = request - .targets - .clone() - .into_iter() - .map(|i| TableId::from(*i)) - .collect::<Vec<_>>(); + // Only tables can be undropped here; reject views explicitly for now. + let tabs: Vec<TableId> = request + .targets + .iter() + .copied() + .map(TableId::try_from) + .collect::<std::result::Result<Vec<_>, _>>() + .map_err(|_| ErrorModel::bad_request( + "Only tables can be undropped at the moment. Views are not supported.", + "UndropViewsNotSupported", + None, + ))?;crates/lakekeeper/src/api/management/v1/tasks.rs (1)
523-546: Enforce entity warehouse consistency to avoid cross‑warehouse auth driftWhen filtering by
entities, the code currently ignores each entity’swarehouse_idand authorizes against the pathwarehouse_id. Add a guard to ensure all entities belong to the requested warehouse (client input can’t skew checks).Apply this patch:
- if can_list_everything.is_err() { - // TODO check all warehouse_ids here equal the warehouse_id fn param? - let table_ids: Vec<(WarehouseId, TableId)> = entities - .iter() - .map(|entity| match entity { - TaskEntity::Table { - table_id, - warehouse_id, - } => (*warehouse_id, *table_id), - }) - .collect(); + if can_list_everything.is_err() { + // Enforce that all entities belong to the requested warehouse to avoid cross-warehouse checks. + if entities.iter().any(|e| match e { + TaskEntity::Table { warehouse_id: wid, .. } => *wid != warehouse_id, + }) { + return Err(ErrorModel::bad_request( + "All entities must belong to the requested warehouse.", + "EntityWarehouseMismatch", + None, + ) + .into()); + } + let table_ids: Vec<TableId> = entities + .iter() + .filter_map(|entity| match entity { + TaskEntity::Table { table_id, .. } => Some(*table_id), + }) + .collect(); let allowed = authorizer .are_allowed_table_actions( request_metadata, - warehouse_id, - table_ids - .iter() - .map(|(_warehouse_id, table_id)| (*table_id, GET_TASK_PERMISSION)) + warehouse_id, // safe: verified all entities belong to this warehouse + table_ids + .into_iter() + .map(|table_id| (table_id, GET_TASK_PERMISSION)) .collect(), )
🧹 Nitpick comments (3)
crates/lakekeeper/src/service/mod.rs (1)
545-554: Consider adding aFrom<&TabularDetails> for TableIdhelper
Restores ergonomic conversion afterDeref/AsRefremoval:impl From<&TabularDetails> for TableId { fn from(d: &TabularDetails) -> Self { d.table_id } }crates/lakekeeper/src/service/authz/implementations/openfga/api.rs (1)
530-540: Add explicit request_body to OpenAPI annotation for consistency.Namespace variant declares request_body; warehouse variant relies on signature inference. Add request_body to avoid generator drift.
#[utoipa::path( post, tag = "permissions", path = "/management/v1/permissions/warehouse/{warehouse_id}/managed-access", params( ("warehouse_id" = Uuid, Path, description = "Warehouse ID"), ), + request_body = SetManagedAccessRequest, responses( (status = 200), ) )]crates/lakekeeper/src/service/authz/mod.rs (1)
438-459: WarehouseId propagated through tabular checks and hooks — solid change.
- Single and batch table/view checks now include warehouse_id and default impls are updated appropriately.
- require_table_action/require_view_action keep non-disclosure semantics while passing warehouse_id.
- Tests/macros updated to reflect tabular scoping.
Optional: If cross-warehouse batch checks become a use case, consider an overload like are_allowed_table_actions_impl taking Vec<((WarehouseId, TableId), A)> to avoid N calls per-warehouse grouping.
Also applies to: 475-491, 496-509, 516-539, 553-569, 572-587, 848-873, 889-905, 1185-1196, 1212-1213, 1285-1293, 1299-1307, 1348-1386, 1403-1414
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (16)
crates/iceberg-ext/src/catalog/view_requirement.rs(1 hunks)crates/lakekeeper/src/api/management/v1/tasks.rs(5 hunks)crates/lakekeeper/src/api/management/v1/warehouse/mod.rs(5 hunks)crates/lakekeeper/src/catalog/tables.rs(15 hunks)crates/lakekeeper/src/catalog/views/commit.rs(6 hunks)crates/lakekeeper/src/catalog/views/drop.rs(3 hunks)crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs(1 hunks)crates/lakekeeper/src/service/authz/implementations/allow_all.rs(3 hunks)crates/lakekeeper/src/service/authz/implementations/openfga/api.rs(10 hunks)crates/lakekeeper/src/service/authz/implementations/openfga/check.rs(7 hunks)crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs(9 hunks)crates/lakekeeper/src/service/authz/mod.rs(20 hunks)crates/lakekeeper/src/service/catalog.rs(2 hunks)crates/lakekeeper/src/service/mod.rs(1 hunks)crates/lakekeeper/src/service/task_queue/tabular_expiration_queue.rs(2 hunks)docs/docs/api/management-open-api.yaml(1 hunks)
✅ Files skipped from review due to trivial changes (1)
- crates/lakekeeper/src/service/authz/implementations/openfga/check.rs
🚧 Files skipped from review as they are similar to previous changes (3)
- crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs
- crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs
- crates/lakekeeper/src/service/task_queue/tabular_expiration_queue.rs
🧰 Additional context used
🧠 Learnings (5)
📓 Common learnings
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1254
File: .sqlx/query-552ddb89100de8fb3c374e95c885dfd2da32c9d51d30acf2d60811edbd545dbc.json:3-3
Timestamp: 2025-09-18T20:08:00.663Z
Learning: In the lakekeeper codebase, table_id and view_id are scoped by warehouse_id through composite primary keys (warehouse_id, table_id) and (warehouse_id, view_id). This design allows ID reuse across warehouses while preventing cross-warehouse joins through proper foreign key constraints. When reviewing SQL queries, JOIN conditions like `t.warehouse_id = $1 AND t.table_id = ti.tabular_id` are correct because they ensure warehouse scoping without needing additional `ti.warehouse_id = $1` constraints.
📚 Learning: 2025-09-08T09:10:07.658Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1328
File: crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs:103-112
Timestamp: 2025-09-08T09:10:07.658Z
Learning: The OpenFGAAuthorizer constructor in crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs should maintain backward compatibility during the transition away from nil UUIDs. Hard assertions that would panic on nil UUID input should be avoided to prevent breaking existing deployments.
Applied to files:
crates/lakekeeper/src/service/authz/implementations/allow_all.rscrates/iceberg-ext/src/catalog/view_requirement.rscrates/lakekeeper/src/catalog/views/commit.rscrates/lakekeeper/src/service/catalog.rscrates/lakekeeper/src/service/authz/implementations/openfga/api.rs
📚 Learning: 2025-09-18T20:08:00.663Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1254
File: .sqlx/query-552ddb89100de8fb3c374e95c885dfd2da32c9d51d30acf2d60811edbd545dbc.json:3-3
Timestamp: 2025-09-18T20:08:00.663Z
Learning: In the lakekeeper codebase, table_id and view_id are scoped by warehouse_id through composite primary keys (warehouse_id, table_id) and (warehouse_id, view_id). This design allows ID reuse across warehouses while preventing cross-warehouse joins through proper foreign key constraints. When reviewing SQL queries, JOIN conditions like `t.warehouse_id = $1 AND t.table_id = ti.tabular_id` are correct because they ensure warehouse scoping without needing additional `ti.warehouse_id = $1` constraints.
Applied to files:
crates/lakekeeper/src/api/management/v1/warehouse/mod.rscrates/lakekeeper/src/catalog/tables.rscrates/lakekeeper/src/service/authz/mod.rs
📚 Learning: 2025-09-11T10:59:14.228Z
Learnt from: mooori
PR: lakekeeper/lakekeeper#1329
File: docs/docs/api/management-open-api.yaml:157-157
Timestamp: 2025-09-11T10:59:14.228Z
Learning: The file `docs/docs/api/management-open-api.yaml` is auto-generated and should not be modified manually. Any fixes need to be applied to the source code or templates that generate this file.
Applied to files:
docs/docs/api/management-open-api.yaml
📚 Learning: 2025-09-11T10:59:20.655Z
Learnt from: mooori
PR: lakekeeper/lakekeeper#1329
File: docs/docs/api/management-open-api.yaml:164-164
Timestamp: 2025-09-11T10:59:20.655Z
Learning: The file `docs/docs/api/management-open-api.yaml` in the lakekeeper project is auto-generated and should not be modified manually. Any issues in this file need to be fixed in the source/tooling that generates it, not in the file itself.
Applied to files:
docs/docs/api/management-open-api.yaml
🔇 Additional comments (31)
crates/lakekeeper/src/api/management/v1/warehouse/mod.rs (4)
804-811: Warehouse-scoped undrop permissions: good changeThreading
warehouse_idintorequire_undrop_permissionsaligns with the new per‑warehouse auth model.
909-920: Per‑warehouse include‑in‑list checks: goodPassing
(warehouse_id, typed id)tois_allowed_*_actionis correct and matches the new OpenFGA entity keys.
1276-1280: Tests updated to warehouse‑qualified identifiers: goodHiding uses
view:{warehouse_id}/{uuid}now. Matches OpenFGA entity formatting.
1460-1461: Test update for hidden view formatting: goodIncludes
warehouse_idin hidden identifier. Consistent with the rest of the suite.crates/lakekeeper/src/api/management/v1/tasks.rs (3)
377-385: Fallback to table‑scoped check when not warehouse‑wide: goodWhen the caller lacks
CanListEverything, deferring toauthorize_get_task_details_for_table_idwithwarehouse_idis the right granularity.
569-581: Warehouse‑scoped table permission check: good
is_allowed_table_action(metadata, warehouse_id, table_id, GET_TASK_PERMISSION)is correct.
596-604: Batch table permission check uses warehouse context: good
are_allowed_table_actions(metadata, warehouse_id, ...)matches the new API. Upstream ensures all tasks are in this warehouse.crates/lakekeeper/src/service/catalog.rs (2)
16-18: Public re‑exports narrowed: OKDropping the public re‑export of
TableUuidis fine; internal import is added below.
41-44: Internal use of TableUuid restored: no external imports detected. All instances ofTableUuidare local toservice::catalog.crates/lakekeeper/src/catalog/views/drop.rs (4)
51-56: Warehouse‑scoped view auth: goodAdding
warehouse_idtorequire_view_actionmatches the warehouse‑qualified OpenFGA object keys.
93-96: More informative logs with warehouse context: goodIncluding the warehouse clarifies multi‑tenant audit trails.
100-101: Authorizer delete now warehouse‑scoped: good
delete_view(warehouse_id, view_id)is consistent with the rest of the authz API.
135-137: Expiration task log updated with warehouse: goodImproves traceability of soft‑deletion flows.
crates/lakekeeper/src/catalog/views/commit.rs (3)
73-79: LGTM! Authorization enhancement for warehouse scoping.The change correctly adds
warehouse_idto the view authorization check, aligning with the warehouse-aware authorization model. This ensures views are properly scoped by warehouse in the authorization system.
300-309: LGTM! Simplified UUID assertion logic.The assertion has been correctly simplified to match against
req.uuiddirectly. The warehouse context from the request is handled appropriately elsewhere in the flow.
407-407: LGTM! Test updates properly support warehouse-scoped assertions.The test changes correctly:
- Update the
spark_commit_update_requestfunction signature to acceptWarehouseId- Include
warehouse-uuidin the test request payload- Pass the warehouse ID to the test helper function
These changes align with the new warehouse-scoped view assertion requirements.
Also applies to: 424-424, 477-477, 501-514
crates/lakekeeper/src/catalog/tables.rs (11)
281-282: LGTM! Enhanced authorization with warehouse context.The
create_tableauthorization call now correctly includeswarehouse_id, enabling warehouse-scoped table creation permissions.
289-293: LGTM! Warehouse-aware staged table cleanup.The staged table deletion now properly includes
warehouse_id, ensuring cleanup operations are scoped to the correct warehouse.
355-355: LGTM! Enhanced table overwrite authorization.The changes correctly:
- Use
TabularDetailsinstead of justTableIdfor richer context- Include
warehouse_idin authorization checks- Pass
TabularDetailsto the drop operation for warehouse-scoped deletionThis aligns with the warehouse-aware authorization model while maintaining backward compatibility.
Also applies to: 360-390
430-443: LGTM! Consistent warehouse-scoped authorization pattern.The authorization logic properly handles both creation of new tables and cleanup of previous tables during registration, with appropriate warehouse context included in all operations.
Also applies to: 450-459
464-468: LGTM! Staged table cleanup with warehouse context.Staged table deletion during registration now includes
warehouse_id, ensuring operations are properly scoped.
736-755: LGTM! Enhanced drop table authorization.The drop operation now uses
TabularDetailsfromtable_to_idand includeswarehouse_idin the authorization check, providing richer context for permission decisions.
800-801: LGTM! Warehouse-aware table deletion cleanup.The table deletion from the authorizer now includes
warehouse_id, ensuring cleanup operations are properly scoped.
1026-1027: LGTM! Consistent warehouse context in table access resolution.The
resolve_and_authorize_table_accessmethod now consistently includeswarehouse_idin all authorization checks, ensuring proper warehouse scoping throughout the table access flow.Also applies to: 1036-1037, 1042-1043
1276-1283: LGTM! Authorization checks with enhanced context.The commit transaction authorization now uses
TabularDetails(viaOk(*id)) and includeswarehouse_id, providing richer context for authorization decisions during bulk operations.
1514-1517: LGTM! Warehouse context in table identification.The
authorized_table_ident_to_idhelper now includeswarehouse_idin the authorization check, ensuring consistent warehouse scoping across the codebase.
3200-3205: LGTM! Test updates for warehouse-scoped table identifiers.The test updates correctly format the warehouse-scoped table identifiers (e.g.,
table/{warehouse_id}/{uuid}) for the hiding authorizer, matching the new authorization model.Also applies to: 3371-3371
crates/iceberg-ext/src/catalog/view_requirement.rs (1)
22-31: Test UUID update is correct.Switching to a non-nil UUID and asserting round-trip is fine. No functional impact beyond test data.
crates/lakekeeper/src/service/authz/implementations/allow_all.rs (1)
145-153: WarehouseId threading in AllowAllAuthorizer — LGTM.Signatures align with the updated Authorizer trait. Underscore-prefixed args keep warnings at bay while preserving behavior.
Also applies to: 158-166, 238-243, 245-247, 252-257, 259-261
docs/docs/api/management-open-api.yaml (1)
4658-4670: Require warehouse-id/table-id in TabularIdentOrUuid — LGTM.This matches the warehouse-scoped IDs model and prevents cross-warehouse ambiguity.
crates/lakekeeper/src/service/authz/implementations/openfga/api.rs (1)
690-701: Adopting (WarehouseId, ) across access/assignments — LGTM.
- Correct Path tuple extraction order matches the route segments.
- Using to_openfga on the pair is consistent with the new modeling.
Also applies to: 728-739, 972-979, 1005-1012, 1194-1206, 1227-1239
✅ PR Title Formatted CorrectlyThe title of this PR match the correct format. Thank you! |
* feat: Publish images to Dockerhub (lakekeeper#1274) * feat: Update UI to 0.9.0 with multi-project support (lakekeeper#1275) * chore: release 0.9.4 Release-As: 0.9.4 * chore: release main (lakekeeper#1262) * chore(ci): Fix Dockerhub login * chore(docs): Improve developer guide (lakekeeper#1265) * chore(docs): add info regarding `view_version`'s internal representation (lakekeeper#1261) * chore(docs): Architecture clarify Secret Store (lakekeeper#1284) * fix: Update Limes to 0.2.2 - Fixes compilation issue due to breaking `jwks_client_rs` change (lakekeeper#1282) * fix: Update Limes to 0.2.2 * increase min rust version * chore: release 0.9.5 Release-As: 0.9.5 * chore: release main (lakekeeper#1286) * chore: enable changelog sections for release-please (lakekeeper#1264) k * fix(deps): update rust crate rand to v0.9.2 (lakekeeper#1252) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate async-channel to v2.5.0 (lakekeeper#1225) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency mkdocs-material to v9.6.17 (lakekeeper#1289) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate anyhow to v1.0.99 (lakekeeper#1290) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: Remove bitnami images (lakekeeper#1288) * feat!: Move to Lakekeeper IO based on hyperscaler SDKs (lakekeeper#1285) * chore(deps): update rust crate reqwest to v0.12.23 (lakekeeper#1294) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(docs): Improve Cloud storage test docs * fix: accept "disable" as PG sslmode as documented (lakekeeper#1303) * feat: Simplify task interface, re-exports, enable delete-after-commit (lakekeeper#1302) * feat: Introduce `RequestMetadata` for Internal Principals which bypass AuthZ (lakekeeper#1306) * chore(deps): update azure/setup-helm action to v4.3.1 (lakekeeper#1299) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(test): use nextest filterset instead of needs_env_var (lakekeeper#1304) * chore(deps): update rust crate openssl-src to v300.5.2 (lakekeeper#1292) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate async-compression to v0.4.28 (lakekeeper#1311) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate thiserror to v2.0.16 (lakekeeper#1296) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Provide `ApiContext` to externally registered tasks (lakekeeper#1307) * feat!: Simplify Task interface, extend SpecializedTask interface (lakekeeper#1310) * feat: Improve authorizer `are_allowed_*` batch check signature (lakekeeper#1315) * chore(authz): Enforce use of AuthZ decisions with #[must_use] (lakekeeper#1317) * feat: Task Management APIs (lakekeeper#1316) * chore(deps): update rust crate tracing-subscriber to v0.3.20 [security] (lakekeeper#1318) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Add `RunNow` and `RunAt` to Controls for Tasks (lakekeeper#1322) * chore(deps): update rust crate tokio-util to v0.7.16 (lakekeeper#1313) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(docs): Improve Entra ID docs (lakekeeper#1325) * chore(docs): Improve Upgrades & Migration docs (lakekeeper#1326) * feat: Add tasks heartbeat with Catalog state (lakekeeper#1324) * ci: add configuration for CodeRabbit reviews (lakekeeper#1327) * feat: Add optional STS session-tags in S3 STS requests for ABAC authorization (lakekeeper#1230) * feat: Random Server IDs (lakekeeper#1328) * chore(deps): update rust crate percent-encoding to v2.3.2 (lakekeeper#1312) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(authz): Deprecate Permission Endpoints for Tables without WarehouseIDs (lakekeeper#1334) * fix: Tasks endpoints in router (lakekeeper#1335) * feat(ci): add nextest profile ci_no_secrets for external PRs (lakekeeper#1333) * chore(deps): update rust crate chrono to v0.4.42 (lakekeeper#1331) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: Pin examples duckdb version to 1.3 (lakekeeper#1343) * feat!: Require warehouse_id when checking permissions on views or tables via ID (lakekeeper#1340) * fix: migrate away from bitnami in unittest.yml (lakekeeper#1344) * chore: Remove coderabitt config * fix(docs): Fix inconsistent URL format in README (lakekeeper#1345) Co-authored-by: Christian <[email protected]> * feat: Remove serde_yaml & serde_yml (lakekeeper#1341) * feat!: add `warehouse_id` to PKs of all `table_*` and `view_*` tables (lakekeeper#1254) * feat: Minor namespace join performance improvements * fix: Warehouse permissions are directly used for task retrieval & control (lakekeeper#1347) * fix: Potential Race Condition when undropping Tabulars (lakekeeper#1342) * fix: table rename authz and error handling (lakekeeper#1346) Co-authored-by: Andre Luis Anastacio <[email protected]> * chore(deps): update rust crate google-cloud-auth to v1.1.2 (lakekeeper#1337) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update rust crate time to v0.3.44 (lakekeeper#1349) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency mkdocs-material to v9.6.20 (lakekeeper#1309) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * feat: Set ServerID during migration (lakekeeper#1348) * chore(deps): Remove utoipa fork (lakekeeper#1352) * chore(deps): update rust crate serde_with to v3.14.1 (lakekeeper#1351) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate url to v2.5.7 (lakekeeper#1354) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate async-compression to v0.4.30 (lakekeeper#1323) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update rust crate serde_json to v1.0.145 (lakekeeper#1250) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update strum monorepo to v0.27.2 (lakekeeper#1251) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update serde monorepo to v1.0.226 (lakekeeper#1355) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update rust crate clap to v4.5.48 (lakekeeper#1356) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Add Entity Names to Tasks (lakekeeper#1353) * fix: case insensitivity of catalog endpoints (lakekeeper#1338) * fix: Improve delete_warehouse error message for active tasks * chore(deps): update rust crate tempfile to v3.22.0 (lakekeeper#1359) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update rust crate axum-prometheus to 0.9.0 (lakekeeper#1358) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix: PgSslMode not supported error string * feat(authz)!: add OpenFGA schema v4 and v3->v4 migration (lakekeeper#1314) Co-authored-by: Christian <[email protected]> Co-authored-by: Christian Thiel <[email protected]> * chore(deps): update rust crate uuid to v1.18.1 (lakekeeper#1362) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency markdown-grid-tables to v0.6.0 (lakekeeper#1357) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate anyhow to v1.0.100 (lakekeeper#1350) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix: clippy * chore(deps): update rust crate moka to v0.12.11 (lakekeeper#1365) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate tempfile to v3.23.0 (lakekeeper#1367) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate async-nats to 0.43.0 (lakekeeper#1366) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/setup-node action to v5 (lakekeeper#1371) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/checkout action to v5 (lakekeeper#1369) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/setup-python action to v6 (lakekeeper#1372) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: V3 support (lakekeeper#1364) * chore: Set Get Task Permission to "CanGetMetadata" (lakekeeper#1376) * chore(deps): update dependency node to v22 (lakekeeper#1373) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(authz)!: extend OpenFGA tabular entities with WarehouseId (lakekeeper#1329) --------- Co-authored-by: Christian <[email protected]> Co-authored-by: Christian Thiel <[email protected]> * feat: Add support for tasks affecting views (lakekeeper#1378) * feat(authz): Add specific Task Actions (lakekeeper#1379) * chore(tests): Test with Iceberg 1.9.2 & 1.10.0 (lakekeeper#1267) * feat: Enrich task metadata with concrete tabular type (lakekeeper#1383) * feat: Add loadTable Snapshots filter (lakekeeper#1385) * feat: add endpoint for fuzzy search of tabulars (lakekeeper#1387) * feat: Update UI to 0.10.0 (lakekeeper#1390) * feat(ui): Update UI to 0.10.1 * chore: Use lakekeeper re-exports in bin (lakekeeper#1391) * fix(tabular-search): distance and docs for `searchterm is uuid` (lakekeeper#1393) * chore(examples): Idempotent bucket creation in minimal example (lakekeeper#1386) In the case where you already have a bucket created, like the "examples" bucket, I ran into an issue where the createbuckets service fails, and this prevents lakekeeper from starting back up. This fix adds a simple minio flag to ignore buckets that already exist, making things even more user friendly * feat: Make number of workers spawned for Expiration & Purge configurable (lakekeeper#1395) * chore: release main (lakekeeper#1295) * chore: added gif to readme (lakekeeper#1396) * chore: remove unneded `#[allow(dead_code)]` (lakekeeper#1399) * fix: Use FnOnce for queue & service registration * Revert "fix: Use FnOnce for queue & service registration" This reverts commit 47b03a0. * chore(docs): Add 0.10 docs * perf(db): remove `join namespace` from `active_tabulars` view (lakekeeper#1401) * doc(db): how to connect to db and inspect schema (lakekeeper#1402) * feat: implement `OpenFgaEntity` for `ServerId` (lakekeeper#1394) * impl OpenFgaEntity * Use the implementation * fix: Use FnOnce for queue & service registration (lakekeeper#1404) * chore(deps): update dependency mkdocs-material to v9.6.21 (lakekeeper#1406) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Expose client-managed X-Iceberg-Access-Delegation (lakekeeper#1407) * fix: Use higher consistency for some OpenFGA queries (lakekeeper#1408) * feat: Improve Kubernetes Auth docs (lakekeeper#1415) * chore: release 0.10.1 Release-As: 0.10.1 * fix: Endpoint stats for Project Endpoints (lakekeeper#1412) * feat: Add create table guard to cleanup location on Failure (lakekeeper#1418) * chore: Generate ID types with Macro (lakekeeper#1419) * chore: Re-Export Tokio from lakekeeper-io create (lakekeeper#1420) * fix: Add support for `write.metadata.metrics.` Table Properties (lakekeeper#1422) * fix: Update UI to 0.10.2 (lakekeeper#1423) * chore: release main (lakekeeper#1403) * fix: Parse empty ProjectID headers as None (lakekeeper#1424) * chore: release 0.10.2 Release-As: 0.10.2 * chore: release main (lakekeeper#1425) * feat: Add `debug_migrate_before_serve` env var (lakekeeper#1426) * feat: Move OpenFGA Authorizer to separate crate (lakekeeper#1421) * chore(renovate): Group dependencies * chore(renovate): ignore additional deps * chore: Rename src/service -> src/server, trait Catalog -> CatalogStore (lakekeeper#1428) * feat(examples): add k8s iceberg sink connector (avro) (lakekeeper#1336) --------- Co-authored-by: Christian <[email protected]> * chore(ci): Fix release please (lakekeeper#1433) * feat: Expose License Information via API (lakekeeper#1432) * fix(deps): update all non-major dependencies (lakekeeper#1429) * chore(ci): Remove mgmt API version update via release-please * chore: Restructure catalog_store into multiple modules (lakekeeper#1434) * feat: Validate Downscoping works on Warehouse creation (lakekeeper#1437) * chore(ci): Fix release please * docs: Add info about installing sqlx to developer-guide.md (lakekeeper#1438) * docs: Update developer-guide.md (lakekeeper#1439) * chore(deps): update all non-major dependencies (lakekeeper#1436) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix: Better normalization for ARNs in S3 Profile (lakekeeper#1441) * chore(deps): update all non-major dependencies (lakekeeper#1442) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(main): release 0.10.3 (lakekeeper#1427) * fix: Release Please CI outputs * fix(ci): Revert 0.10.3 release * chore(main): release 0.10.3 (lakekeeper#1446) * feat: Introduce CatalogWarehouseOps & CatalogNamespaceOps abstractions (lakekeeper#1440) * feat: Allow x-user-agent header (lakekeeper#1453) * feat: Table & View Ops Abstractions, Improved Error Handling (lakekeeper#1454) * fix: CORS allow access delegation & etag headers (lakekeeper#1455) * fix: Headers should be lowercase (lakekeeper#1457) * chore(tests): Add trino information_schema.tables test (lakekeeper#1456) * chore: Introduce open-api feature to gate utoipa and swagger (lakekeeper#1458) * chore: Release As 0.11 * fix: Debug assertion table identifier mismatch for signer (lakekeeper#1460) * feat: Caching Short-Term-Credentials (STC) (lakekeeper#1459) * feat: Warehouse Cache (lakekeeper#1462) * chore(deps): update actions/setup-node action to v6 (lakekeeper#1443) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Version based Warehouse Cache (lakekeeper#1465) * feat: AuthZ Server and Project Ops (lakekeeper#1471) * chore(deps): update github artifact actions (lakekeeper#1461) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: Rename release branch pattern to rel-* * feat: Catalog returns full Namespace Hierarchy for nested Namespaces (lakekeeper#1472) --------- Co-authored-by: Christian <[email protected]> Co-authored-by: Christian Thiel <[email protected]> Co-authored-by: Dao Thanh Tung <[email protected]> Co-authored-by: Moritz Zielke <[email protected]> Co-authored-by: Baptiste Gouhoury <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dolan Antenucci <[email protected]> Co-authored-by: Anatoly Popov <[email protected]> Co-authored-by: Andre Luis Anastacio <[email protected]> Co-authored-by: Scott Haines <[email protected]> Co-authored-by: Viktor Kessler <[email protected]> Co-authored-by: Yohan Valencia <[email protected]> Co-authored-by: Paul Roman <[email protected]>
Summary by CodeRabbit
New Features
Breaking Changes
Documentation