Skip to content

chore(authz): Enforce use of AuthZ decisions with #[must_use] - #1317

Merged
c-thiel merged 3 commits into
mainfrom
ct/must-use-authz-decisions
Aug 30, 2025
Merged

c-thiel merged 3 commits into
mainfrom
ct/must-use-authz-decisions

Conversation

@c-thiel

@c-thiel c-thiel commented Aug 30, 2025 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features

    • Endpoint path updated for view-access queries (path aligned with view identifier).
  • Refactor

    • Authorization results now consistently returned/consumed for users, roles, servers, projects, warehouses, namespaces, tables, and views.
    • Batch permission evaluations unified for namespaces, tables, and views.
  • Breaking API change

    • One exported type used by the Tables API (PaginationQuery) was removed from the public import surface.
  • Tests

    • Tests updated to match new authorization result handling.
  • Documentation

    • CreateWarehouseRequest delete-profile description clarified to indicate hard-delete default.

@coderabbitai

coderabbitai Bot commented Aug 30, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

Authorization results are now wrapped in a new MustUse type across the Authorizer trait and callers. Call sites unwrap decisions via into_inner(). Call-signatures for many auth checks changed to return Result<MustUse> or Result<MustUse<Vec>>; callers, API routes, catalog code, and tests were updated accordingly.

Changes

Cohort / File(s) Summary
AuthZ core API and wrappers
crates/lakekeeper/src/service/authz/mod.rs
Added pub struct MustUse<T> with From<T> and into_inner(); updated Authorizer trait methods to return Result<MustUse<bool>> and Result<MustUse<Vec<bool>>>; adapted default impls and tests to wrap/unwrap results.
Call-site unwraps & minor API fixes
crates/lakekeeper/src/api/management/v1/warehouse/mod.rs, crates/lakekeeper/src/api/management/v1/warehouse/undrop.rs
Replaced direct usage of auth results with .into_inner() where filtering, tuple construction, and reductions use the inner bool; adjusted imports in undrop.rs.
Catalog: namespace, tables, tabular, views
crates/lakekeeper/src/catalog/namespace.rs, crates/lakekeeper/src/catalog/tables.rs, crates/lakekeeper/src/catalog/tabular.rs, crates/lakekeeper/src/catalog/views/list.rs
Unwrapped MustUse results via .into_inner() for per-resource checks and masks; removed unused import (PaginationQuery) in views list; adjusted a PaginationQuery path in tabular.rs.
Authz implementation & routing
crates/lakekeeper/src/service/authz/implementations/openfga/api.rs
Route path renamed from /permissions/view/{table_id}/access → /permissions/view/{view_id}/access; tests updated to call .into_inner() on batched auth results.
Docs: OpenAPI
docs/docs/api/management-open-api.yaml
Updated CreateWarehouseRequest.delete_profile description text from a soft-deletion note to indicate default hard deletion (formatting change only).

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant Client
  participant Service
  participant Authorizer

  Client->>Service: Request (list/query/undrop)
  Service->>Authorizer: is_allowed*/are_allowed*(...)
  Authorizer-->>Service: Result<MustUse<bool|Vec<bool>>>
  note right of Service: call `.into_inner()` to obtain bool/Vec<bool>
  Service->>Service: Apply filters/masks, derive permissions
  Service-->>Client: Response (filtered/authorized)
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

Suggested reviewers

  • mooori

Poem

A rabbit hops through code so spry,
MustUse wrapped truths I pry.
I nibble wrappers, inner booleans bloom,
Filters align — permissions resume.
Thump! 🥕

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ct/must-use-authz-decisions

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (8)
crates/lakekeeper/src/service/authz/implementations/openfga/api.rs (1)

1382-1384: Fix route path param name: {table_id} → {view_id}

The handler expects a ViewId and OpenAPI docs use {view_id}. Align the router path for clarity and doc consistency.

-        .route(
-            "/permissions/view/{table_id}/access",
-            get(get_view_access_by_id),
-        )
+        .route(
+            "/permissions/view/{view_id}/access",
+            get(get_view_access_by_id),
+        )
crates/lakekeeper/src/api/management/v1/warehouse/undrop.rs (1)

54-58: Minor: streamline boolean reduction

Map to bools before all() for readability.

-    let all_allowed = futures::future::try_join_all(futs)
-        .await?
-        .into_iter()
-        .all(|t| t.into_inner());
+    let all_allowed = futures::future::try_join_all(futs)
+        .await?
+        .into_iter()
+        .map(|t| t.into_inner())
+        .all(|b| b);
crates/lakekeeper/src/catalog/tabular.rs (1)

27-37: Optional: qualify PaginationQuery to reduce macro import coupling

Avoid requiring callers to import PaginationQuery.

-                let query = PaginationQuery {
+                let query = crate::api::iceberg::v1::PaginationQuery {
                     page_size: Some(ps),
                     page_token: page_token.into(),
                 };
crates/lakekeeper/src/api/management/v1/warehouse/mod.rs (1)

85-90: Doc default vs. code default mismatch for delete_profile

Field doc says “defaults to soft-deletion with 7 days,” but Default for TabularDeleteProfile is Hard {}.

  • Either update the doc to reflect Hard {}, or change Default to Soft { expiration_seconds: chrono::Duration::seconds(604800) }.
-    /// Profile to determine behavior upon dropping of tabulars, defaults to soft-deletion with
-    /// 7 days expiration.
+    /// Profile to determine behavior upon dropping of tabulars. Default: hard deletion.

Also applies to: 136-140

crates/lakekeeper/src/service/authz/mod.rs (4)

160-176: MustUse wrapper: solid design; consider small ergonomics/doc touch-ups.

  • Add Copy to ease use with scalars like bool.
  • Add a short doc comment explaining why this exists and how to consume it.

Apply:

-#[must_use]
-#[repr(transparent)]
-#[derive(Debug, Clone, PartialEq)]
+#[must_use]
+#[repr(transparent)]
+#[derive(Debug, Clone, Copy, PartialEq)]
 /// Wraps authorization decisions to enforce explicit consumption at call sites.
 /// Call `.into_inner()` to obtain the value.
 pub struct MustUse<T>(T);

229-236: Consistent promotion to Result<MustUse>.

Pattern is correct and concise. As a minor nit, you could use .map(Into::into) instead of .map(MustUse::from) if you prefer the shorter form.

Also applies to: 252-260, 276-284, 298-305, 321-329, 345-353, 371-382, 445-456, 515-526


403-407: Default batch implementations unwrap decisions correctly; watch unbounded concurrency.

try_join_all fires all requests at once. For very large batches, consider a buffered approach (e.g., FuturesUnordered with a cap) to avoid head-of-line memory spikes. Optional since real batching should be in concrete impls.

Also applies to: 474-479, 544-549


387-392: Doc fix: return type description is inaccurate.

The text says “Vec<Ok>” but the functions return Result<Vec<bool>>. Recommend updating for clarity.

Apply:

-/// Returns `Vec<Ok<bool>>` indicating for each tuple whether the action is allowed. Returns
-/// `Err` for internal errors.
+/// Returns `Vec<bool>` indicating whether the action is allowed for each tuple.
+/// Returns `Err` for internal errors.

Also applies to: 461-466, 531-536

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 9f901c1 and d0b68b3.

📒 Files selected for processing (7)
  • crates/lakekeeper/src/api/management/v1/warehouse/mod.rs (2 hunks)
  • crates/lakekeeper/src/api/management/v1/warehouse/undrop.rs (1 hunks)
  • crates/lakekeeper/src/catalog/namespace.rs (3 hunks)
  • crates/lakekeeper/src/catalog/tables.rs (1 hunks)
  • crates/lakekeeper/src/catalog/tabular.rs (2 hunks)
  • crates/lakekeeper/src/service/authz/implementations/openfga/api.rs (2 hunks)
  • crates/lakekeeper/src/service/authz/mod.rs (31 hunks)
🧰 Additional context used
🧬 Code graph analysis (2)
crates/lakekeeper/src/catalog/tabular.rs (1)
crates/lakekeeper/src/service/authz/mod.rs (1)
  • into_inner (173-175)
crates/lakekeeper/src/service/authz/mod.rs (1)
crates/lakekeeper/src/request_metadata.rs (1)
  • user_id (64-70)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
  • GitHub Check: docker / docker
  • GitHub Check: test
  • GitHub Check: docker / docker
  • GitHub Check: check-generated-openapi-matches
  • GitHub Check: clippy
  • GitHub Check: docker / docker
  • GitHub Check: sqlx-check
  • GitHub Check: docker / docker
🔇 Additional comments (12)
crates/lakekeeper/src/service/authz/implementations/openfga/api.rs (2)

1769-1772: LGTM: tests correctly unwrap MustUse via into_inner()

The added into_inner() after unwrap() matches the new #[must_use] contract and keeps assertions simple.

Also applies to: 1791-1794


1-1: No missing into_inner() invocations detected
Sanity scan over all is_allowed*/are_allowed* call sites shows each .await? is followed by .into_inner() or returns a MustUse wrapper as intended. No further action required.

crates/lakekeeper/src/api/management/v1/warehouse/undrop.rs (1)

55-58: LGTM: unwrap MustUse before reduction

Using into_inner() ensures correctness with #[must_use].

crates/lakekeeper/src/catalog/tables.rs (1)

994-1007: LGTM: proper unwrapping of read/write permissions

Rebinding to bools via into_inner() aligns with the new MustUse API and keeps StoragePermissions logic unchanged.

crates/lakekeeper/src/catalog/tabular.rs (2)

39-46: LGTM: ensure can_list_everything is consumed

into_inner() use here avoids accidentally ignoring the MustUse value.


55-60: LGTM: per-entity mask unwrapping is correct

into_inner() on the batched results keeps the mask consistent.

crates/lakekeeper/src/api/management/v1/warehouse/mod.rs (2)

417-422: LGTM: unwrap auth filter boolean

into_inner() correctly enforces use of the decision in list_warehouses.


909-911: LGTM: unwrap per-item include-in-list decisions

into_inner() keeps the mask construction correct for soft-deleted tabulars.

crates/lakekeeper/src/catalog/namespace.rs (1)

84-86: Correct unwrapping of MustUse decisions.

Consistent use of .into_inner() after awaiting AuthZ checks. Matches the new API and preserves the intended #[must_use] enforcement.

Also applies to: 105-107, 147-148

crates/lakekeeper/src/service/authz/mod.rs (3)

659-659: Require-guards now consume decisions explicitly.

Good use of .into_inner() across all require_* guards; this guarantees decisions aren’t accidentally dropped.

Also applies to: 677-681, 699-703, 720-724, 744-747, 767-770, 804-808, 840-843, 875-878


1286-1287: Tests updated to unwrap decisions.

Adjustments with .into_inner() are correct and keep assertions meaningful.

Also applies to: 1301-1302


229-236: No missing into_inner() calls detected
Ran the provided repo-wide grep; no instances of awaited AuthZ decisions without .into_inner() were found.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Aug 30, 2025
@github-actions

Copy link
Copy Markdown
Contributor

✅ PR Title Formatted Correctly

The title of this PR match the correct format. Thank you!

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
crates/lakekeeper/src/service/authz/implementations/openfga/api.rs (2)

1769-1772: Use expect(...) instead of unwrap() for clearer test failures.

into_inner() usage correctly honors MustUse. Swap unwrap() for expect(...) to improve diagnostics on failure.

-                .await
-                .unwrap()
+                .await
+                .expect("are_allowed_namespace_actions failed")
                 .into_inner();

1791-1794: Mirror the expect(...) improvement in the second assertion chain.

Same rationale as above; preserves MustUse handling and yields better error messages.

-                .await
-                .unwrap()
+                .await
+                .expect("are_allowed_namespace_actions failed")
                 .into_inner();
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between d0b68b3 and 78e867c.

📒 Files selected for processing (7)
  • crates/lakekeeper/src/api/management/v1/warehouse/mod.rs (3 hunks)
  • crates/lakekeeper/src/api/management/v1/warehouse/undrop.rs (2 hunks)
  • crates/lakekeeper/src/catalog/tables.rs (2 hunks)
  • crates/lakekeeper/src/catalog/tabular.rs (3 hunks)
  • crates/lakekeeper/src/catalog/views/list.rs (1 hunks)
  • crates/lakekeeper/src/service/authz/implementations/openfga/api.rs (3 hunks)
  • docs/docs/api/management-open-api.yaml (1 hunks)
✅ Files skipped from review due to trivial changes (2)
  • crates/lakekeeper/src/catalog/views/list.rs
  • docs/docs/api/management-open-api.yaml
🚧 Files skipped from review as they are similar to previous changes (4)
  • crates/lakekeeper/src/catalog/tabular.rs
  • crates/lakekeeper/src/api/management/v1/warehouse/undrop.rs
  • crates/lakekeeper/src/api/management/v1/warehouse/mod.rs
  • crates/lakekeeper/src/catalog/tables.rs
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: openfga
  • GitHub Check: docker / docker
  • GitHub Check: test
  • GitHub Check: check-generated-openapi-matches
  • GitHub Check: clippy
  • GitHub Check: sqlx-check
🔇 Additional comments (1)
crates/lakekeeper/src/service/authz/implementations/openfga/api.rs (1)

1382-1384: No stale {table_id} references found — approved. Ran the ripgrep search and there are no remaining occurrences of the old route parameter.

@c-thiel
c-thiel enabled auto-merge (squash) August 30, 2025 13:12
@c-thiel
c-thiel merged commit e16f834 into main Aug 30, 2025
@c-thiel
c-thiel deleted the ct/must-use-authz-decisions branch August 30, 2025 13:14
@c-thiel c-thiel mentioned this pull request Aug 30, 2025
mrjoe7 added a commit to mrjoe7/lakekeeper that referenced this pull request Oct 30, 2025
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant