Skip to content

feat: Internal Principal with bypassed AuthZ - #1306

Merged
c-thiel merged 3 commits into
mainfrom
ct/internal-authz
Aug 26, 2025
Merged

c-thiel merged 3 commits into
mainfrom
ct/internal-authz

Conversation

@c-thiel

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

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features

    • Added DataAccessMode (client-managed vs server-delegated) across table/view APIs and storage profiles.
    • New RequestMetadata constructor and admin-privilege check for internal operations.
  • Improvements

    • APIs accept more flexible data-access inputs while remaining backward-compatible.
    • Storage backends skip credential vending when client-managed mode is used.
    • CancellationToken exported for easier orchestration; task structures expose more fields.
    • Prefix conversion helpers from &str/String added.
  • Refactor

    • Authorization checks split into wrapper/impl methods enabling admin short-circuiting.

@coderabbitai

coderabbitai Bot commented Aug 26, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

Adds DataAccessMode and exposes it in the Iceberg v1 API; broadens many API signatures to accept impl Into. Introduces InternalActor and admin-privilege short-circuit wrappers in Authorizer. Re-exports CancellationToken at crate root and updates related signatures. Adds From/From<&str> for Prefix.

Changes

Cohort / File(s) Summary
Iceberg v1 public API
crates/lakekeeper/src/api/iceberg/mod.rs, crates/lakekeeper/src/api/iceberg/v1/tables.rs, crates/lakekeeper/src/api/iceberg/v1/views.rs, crates/lakekeeper/src/api/iceberg/types.rs
Re-export DataAccessMode; add DataAccessMode enum (ClientManaged, ServerDelegated(DataAccess)); update service method params to impl Into<DataAccessMode> + Send; add Prefix From<String> and From<&str> impls; fix router path typo.
Catalog endpoints (tables & views)
crates/lakekeeper/src/catalog/tables.rs, crates/lakekeeper/src/catalog/views.rs, crates/lakekeeper/src/catalog/views/create.rs, crates/lakekeeper/src/catalog/views/load.rs, crates/lakekeeper/src/catalog/views/commit.rs
Replace DataAccess parameters with impl Into<DataAccessMode> + Send, convert via .into() at handler entry, update imports and context fields to DataAccessMode.
Storage profiles and providers
crates/lakekeeper/src/service/storage/mod.rs, crates/lakekeeper/src/service/storage/s3.rs, crates/lakekeeper/src/service/storage/gcs/mod.rs, crates/lakekeeper/src/service/storage/az.rs
generate_table_config now accepts DataAccessMode; providers pattern-match on DataAccessMode, add early-return when client-managed, adjust STS/remote-signing logic and minor implementation details (logical OR, logging, host handling).
Endpoint hooks & event publisher
crates/lakekeeper/src/service/endpoint_hooks.rs, crates/lakekeeper/src/service/event_publisher/mod.rs
Update hook and publisher method signatures to accept DataAccessMode and update imports.
Request metadata & authn
crates/lakekeeper/src/request_metadata.rs, crates/lakekeeper/src/service/authn.rs
Introduce InternalActor (includes LakekeeperInternal); store InternalActor in RequestMetadata; add RequestMetadata::new_lakekeeper_internal() and has_admin_privileges(); map internal to external actor in actor(); add InternalActor::is_authenticated() and serde/display behavior.
Authz trait and implementations
crates/lakekeeper/src/service/authz/mod.rs, crates/lakekeeper/src/service/authz/implementations/allow_all.rs, crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs
Split authorization checks: add *_impl core methods and wrapper methods that short-circuit when metadata.has_admin_privileges(); rename implementations to *_impl (logic unchanged).
Task queue / CancellationToken re-export
crates/lakekeeper/src/service/task_queue/mod.rs, crates/lakekeeper/src/service/task_queue/tabular_expiration_queue.rs, crates/lakekeeper/src/service/task_queue/tabular_purge_queue.rs, crates/lakekeeper/src/api/mod.rs, crates/lakekeeper/src/api/router.rs, crates/lakekeeper/src/lib.rs, crates/lakekeeper/src/metrics.rs, crates/lakekeeper/src/serve.rs, crates/lakekeeper/src/service/health.rs, tests (crates/lakekeeper/src/tests/*)
Add pub use tokio_util::sync::CancellationToken at crate root; rework imports to use crate-level CancellationToken; update public types/signatures to use the re-export (TaskQueueWorker, SpecializedTask::poll_for_new_task, various workers, shutdown_signal, metrics/health layers); make SpecializedTask fields pub; update tests to use crate CancellationToken.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant Client
  participant API as Iceberg API
  participant Catalog as CatalogServer
  participant Storage as StorageProfile
  participant Provider as {S3|GCS|AZ} Profile

  Client->>API: create_table/load_table(..., data_access)
  API->>Catalog: forward data_access (Into<DataAccessMode>)
  Catalog->>Catalog: data_access.into()
  Catalog->>Storage: generate_table_config(data_access: DataAccessMode)
  alt data_access == ClientManaged
    Storage-->>Catalog: TableConfig (no delegated creds)
  else data_access == ServerDelegated
    Storage->>Provider: request creds/token
    Provider-->>Storage: TableConfig (creds/signing)
    Storage-->>Catalog: TableConfig
  end
  Catalog-->>API: LoadTableResult
  API-->>Client: Response
Loading
sequenceDiagram
  autonumber
  participant Caller
  participant Svc as Service
  participant AuthZ as Authorizer (wrapper)
  participant Impl as Authorizer ( *_impl )

  Caller->>Svc: is_allowed_*_action(...)
  Svc->>AuthZ: is_allowed_*_action(...)
  AuthZ->>AuthZ: metadata.has_admin_privileges()
  alt Admin
    note right of AuthZ: short-circuit allow
    AuthZ-->>Svc: true / All
  else Non-admin
    AuthZ->>Impl: is_allowed_*_action_impl(...)
    Impl-->>AuthZ: result
    AuthZ-->>Svc: result
  end
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

Poem

"I hopped through branches, small and bright,
New modes I carried through the night.
Admin doors now open wide,
Tokens shared from side to side.
Prefix strings snug in my paw — code garden tidy, hurrah!" 🐰✨

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.

✨ 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/internal-authz

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 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: 2

🧹 Nitpick comments (22)
crates/lakekeeper/src/service/task_queue/tabular_expiration_queue.rs (1)

5-5: Use the crate-level CancellationToken re-export for consistency and future flexibility

Prefer importing the re-exported alias instead of the concrete tokio_util path so that downstream code consistently depends on our public surface, not an implementation detail.

Apply:

-use tokio_util::sync::CancellationToken;
+use crate::service::task_queue::CancellationToken;
crates/lakekeeper/src/service/task_queue/mod.rs (2)

44-45: Unify alias usage across this module

TaskQueueWorker now uses the re-exported CancellationToken, but poll_for_new_task (Line 647) still references tokio_util::sync::CancellationToken directly. Aligning everything to the re-export avoids type-path churn and makes future swaps trivial.

Apply:

-        cancellation_token: tokio_util::sync::CancellationToken,
+        cancellation_token: CancellationToken,

534-536: Reconsider widening SpecializedTask fields to pub; add accessors instead

Making config and data public widens the crate’s API surface and couples external code to internal representation. Prefer keeping fields restricted and exposing read-only accessors to preserve invariants and allow future refactors without a semver break.

Suggested change (revert visibility and add getters):

-    pub config: Option<C>,
-    pub data: P,
+    pub(crate) config: Option<C>,
+    pub(crate) data: P,

Add read-only accessors (outside this hunk):

impl<Q: QueueConfig, D: TaskData> SpecializedTask<Q, D> {
    pub fn data(&self) -> &D {
        &self.data
    }
    pub fn config(&self) -> Option<&Q> {
        self.config.as_ref()
    }
}
crates/lakekeeper/src/api/iceberg/types.rs (1)

23-27: Prefer standard conversion traits over an ad‑hoc constructor

from_string works, but Rust users will instinctively reach for From/Into and From<&str>. Consider adding those impls to make Prefix construction more ergonomic across the codebase while keeping from_string for symmetry with into_string.

Additional code (outside the selected lines):

impl From<String> for Prefix {
    fn from(s: String) -> Self {
        Self(s)
    }
}

impl From<&str> for Prefix {
    fn from(s: &str) -> Self {
        Self(s.to_owned())
    }
}
crates/lakekeeper/src/catalog/views/load.rs (1)

25-28: Drop the unnecessary + Send bound on the generic parameter

You convert to DataAccessMode before any await point, so the generic input does not cross .await and does not need Send here. This reduces constraints on callers while preserving the same runtime behavior.

Apply:

-    data_access: impl Into<DataAccessMode> + Send,
+    data_access: impl Into<DataAccessMode>,
 ) -> Result<LoadViewResult> {
-    let data_access = data_access.into();
+    let data_access = data_access.into();
crates/lakekeeper/src/service/storage/az.rs (2)

235-246: ClientManaged early-return: confirm cross-provider parity and consider minimal hints

Great to short-circuit SAS generation for ClientManaged. Two follow-ups:

  • Ensure the same behavior exists in S3/GCS implementations to keep semantics consistent for clients irrespective of backend.
  • Optional: if a non-public Azure cloud is configured (custom authority/host), consider including minimally necessary hints (e.g., authority host) in config for client-managed mode, or document that no hints are intentionally returned so clients use their own environment/config.

If you decide to keep the config empty, add a brief doc comment on generate_table_config clarifying that ClientManaged intentionally returns empty props.


362-367: Avoid temporary String allocation when selecting DEFAULT_HOST

Minor micro-alloc: use as_deref to borrow &str instead of creating a new String each call.

Apply:

-    fn iceberg_sas_property_key(&self) -> String {
-        iceberg_sas_property_key(
-            &self.account_name,
-            self.host.as_ref().unwrap_or(&DEFAULT_HOST.to_string()),
-        )
-    }
+    fn iceberg_sas_property_key(&self) -> String {
+        iceberg_sas_property_key(
+            &self.account_name,
+            self.host.as_deref().unwrap_or(DEFAULT_HOST),
+        )
+    }
crates/lakekeeper/src/catalog/views/commit.rs (1)

45-48: Remove + Send bound on the input type; it’s not required

Similar to load_view, the input is immediately converted to DataAccessMode before any await, so callers don’t need to meet a Send bound for the generic. This makes the API slightly more flexible with no cost.

Apply:

-    data_access: impl Into<DataAccessMode> + Send,
+    data_access: impl Into<DataAccessMode>,
 ) -> Result<LoadViewResult> {
-    let data_access = data_access.into();
+    let data_access = data_access.into();
crates/lakekeeper/src/catalog/views.rs (1)

21-24: Views API now accepts impl Into — forwarding looks correct.

  • The impl matches the public trait (create/load/commit). You forward data_access directly to submodules; no control-flow change is introduced.

Small consideration:

  • Using impl Into<DataAccessMode> inside a trait can hinder object-safety if you ever need dyn ViewService. If object safety may become desirable, consider taking DataAccessMode directly and doing .into() at call-sites instead.

Also applies to: 49-53, 60-63, 70-74

crates/lakekeeper/src/api/iceberg/v1/views.rs (1)

18-19: Approve public ViewService signature change
The v1 ViewService methods (create_view, load_view, commit_view) now accept impl Into<DataAccessMode> + Send for the data_access parameter. Because DataAccessMode derives From<DataAccess>, callers that pass the old DataAccess type (e.g. as returned by parse_data_access) continue to type-check unchanged—so the API remains source-compatible. No remaining call-sites in crates/lakekeeper/src/api/iceberg/v1/views.rs expect a raw DataAccess parameter in the public trait.

• File: crates/lakekeeper/src/api/iceberg/v1/views.rs
Lines around the ViewService trait signature for create_view, load_view, and commit_view.

Optional refactor for object-safety:
• Change the trait signature from

data_access: impl Into<DataAccessMode> + Send

to

data_access: DataAccessMode

This removes the generic-parameter bound and makes ViewService object-safe.

crates/lakekeeper/src/api/iceberg/v1/tables.rs (2)

362-369: New DataAccessMode enum is clear and future-proof; deriving From is a nice touch.

  • The derive_more::From deriving makes the router integration trivial.
  • Consider adding a helper for convenience and to reduce pattern matching boilerplate across backends (optional):
+impl DataAccessMode {
+    #[must_use]
+    pub fn requested(self) -> bool {
+        match self {
+            DataAccessMode::ClientManaged => false,
+            DataAccessMode::ServerDelegated(da) => da.requested(),
+        }
+    }
+}

290-311: Nit: Route placeholder likely misnamed — should be {table} instead of the second {namespace}.

  • Path currently: "/{prefix}/namespaces/{namespace}/tables/{namespace}/credentials"
  • Extractor expects (Prefix, NamespaceIdentUrl, String) where the third is the table name. Axum matches by position, so this "works", but it’s confusing and may break tooling/OpenAPI generation.

Apply:

-            "/{prefix}/namespaces/{namespace}/tables/{namespace}/credentials",
+            "/{prefix}/namespaces/{namespace}/tables/{table}/credentials",
crates/lakekeeper/src/service/storage/mod.rs (1)

27-30: Import mix of v1::{tables::DataAccessMode, DataAccess}.

  • This is fine, but for consistency consider importing both from the same scope if DataAccessMode is re-exported at v1::DataAccessMode.
crates/lakekeeper/src/service/storage/gcs/mod.rs (2)

317-329: ClientManaged short-circuit is correct; consider not requiring credentials in this mode.

Early-returning an empty TableConfig for DataAccessMode::ClientManaged is the right behavior. However, the function still requires cred: &GcsCredential even though it’s unused in this branch. For API symmetry with S3 and to avoid forcing callers to fabricate a credential they don’t need, consider making the parameter optional (Option<&GcsCredential>) or splitting the method internally before reading cred. This would mirror the S3 implementation which takes Option<&S3Credential>.

If this signature is constrained by the StorageProfile trait, I can propose a coordinated change across the trait and call sites.


345-354: Nit: compute token expiry with Duration to avoid manual millis arithmetic.

Using SystemTime::now() + Duration::from_secs(expiry) and then formatting avoids a manual multiply-by-1000 and reduces the chance of overflow or unit mistakes. Not a blocker.

crates/lakekeeper/src/service/storage/s3.rs (4)

393-415: DataAccessMode handling is sensible; remote-signing default aligns with “no vended creds”.

The mapping:

  • ServerDelegated: remote_signing = !vended_credentials || remote_signing
  • ClientManaged: (remote_signing, vended_credentials) = (false, false)

This matches expectations: when clients don’t get creds, we must remotely sign. One suggestion: when vended_credentials is requested but STS isn’t usable (see below), we later force remote_signing=true; consider logging this fallback at debug level so operators have traceability.

Apply this diff to add a debug log when falling back due to unavailable STS:

@@
-            } else {
+            } else {
                 push_fsspec_fileio_with_s3v4restsigner(&mut config);
                 remote_signing = true;
+                tracing::debug!(
+                    "Falling back to remote signing: vended_credentials requested \
+but STS is disabled and credential is not Cloudflare R2."
+                );
             }

424-431: Duplicate client::Region insertion.

client::Region is inserted twice. Drop the duplicate to avoid confusion (behavior is the same, but it’s noise).

Apply this diff:

         config.insert(&s3::Region(self.region.to_string()));
         config.insert(&client::Region(self.region.to_string()));
         config.insert(&custom::CustomConfig {
             key: "region".to_string(),
             value: self.region.to_string(),
         });
-        config.insert(&client::Region(self.region.to_string()));

437-490: Prefer logical OR (||) over bitwise OR (|) for booleans.

Both evaluate to the same bool, but || is idiomatic and short-circuits.

Apply this diff:

-            if self.sts_enabled | matches!(s3_credential, Some(S3Credential::CloudflareR2(..))) {
+            if self.sts_enabled || matches!(s3_credential, Some(S3Credential::CloudflareR2(..))) {

389-391: Update stale docstring.

The comment says “Fails if vended credentials are used - currently not supported.” The implementation below supports vended credentials (STS and R2). Please update to reflect actual behavior.

crates/lakekeeper/src/request_metadata.rs (1)

81-93: new_lakekeeper_internal and has_admin_privileges: consider deriving base_url from config

The constructor looks good. Minor polish: base_url defaults to http://localhost:8181 which may leak into hooks/URIs in some environments. Consider preferring CONFIG.base_uri if set, falling back to localhost.

Proposed change:

 pub fn new_lakekeeper_internal() -> Self {
     Self {
         request_id: Uuid::now_v7(),
         project_id: None,
         authentication: None,
-        base_url: "http://localhost:8181".to_string(),
+        base_url: CONFIG
+            .base_uri
+            .clone()
+            .unwrap_or_else(|| "http://localhost:8181".to_string()),
         actor: InternalActor::LakekeeperInternal,
         matched_path: None,
         request_method: Method::default(),
     }
 }

Also applies to: 94-100

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

626-637: Consider aligning load_table_credentials signature with other endpoints

load_table_credentials still takes DataAccess and converts internally. For consistency across the v1 Tables API, consider changing the signature to impl Into + Send as well.

-    async fn load_table_credentials(
-        parameters: TableParameters,
-        data_access: DataAccess,
+    async fn load_table_credentials(
+        parameters: TableParameters,
+        data_access: impl Into<DataAccessMode> + Send,
crates/lakekeeper/src/service/authz/mod.rs (1)

197-217: *Admin short-circuit wrappers: solid pattern; consider adding a regression test for _actions wrappers

The wrapper/impl split and has_admin_privileges() bypass are coherent. Once the recursion fix is applied, consider a small unit test asserting that are_allowed_* wrappers delegate to *_impl (e.g., via a test Authorizer counting invocations) to prevent regressions.

I can add a lightweight test Authorizer that records which methods are called and wire it into a couple of wrapper tests if you’d like.

Also applies to: 228-240, 251-263, 273-283, 294-306, 317-329, 342-357, 413-428, 484-499

📜 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 8fec31f and 31e4180.

📒 Files selected for processing (22)
  • crates/lakekeeper/src/api/iceberg/mod.rs (1 hunks)
  • crates/lakekeeper/src/api/iceberg/types.rs (1 hunks)
  • crates/lakekeeper/src/api/iceberg/v1/tables.rs (3 hunks)
  • crates/lakekeeper/src/api/iceberg/v1/views.rs (3 hunks)
  • crates/lakekeeper/src/catalog/tables.rs (6 hunks)
  • crates/lakekeeper/src/catalog/views.rs (4 hunks)
  • crates/lakekeeper/src/catalog/views/commit.rs (3 hunks)
  • crates/lakekeeper/src/catalog/views/create.rs (3 hunks)
  • crates/lakekeeper/src/catalog/views/load.rs (2 hunks)
  • crates/lakekeeper/src/request_metadata.rs (10 hunks)
  • crates/lakekeeper/src/service/authn.rs (5 hunks)
  • crates/lakekeeper/src/service/authz/implementations/allow_all.rs (7 hunks)
  • crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs (11 hunks)
  • crates/lakekeeper/src/service/authz/mod.rs (17 hunks)
  • crates/lakekeeper/src/service/endpoint_hooks.rs (7 hunks)
  • crates/lakekeeper/src/service/event_publisher/mod.rs (4 hunks)
  • crates/lakekeeper/src/service/storage/az.rs (2 hunks)
  • crates/lakekeeper/src/service/storage/gcs/mod.rs (2 hunks)
  • crates/lakekeeper/src/service/storage/mod.rs (5 hunks)
  • crates/lakekeeper/src/service/storage/s3.rs (2 hunks)
  • crates/lakekeeper/src/service/task_queue/mod.rs (3 hunks)
  • crates/lakekeeper/src/service/task_queue/tabular_expiration_queue.rs (2 hunks)
🧰 Additional context used
🧬 Code graph analysis (7)
crates/lakekeeper/src/service/storage/gcs/mod.rs (1)
crates/lakekeeper/src/api/iceberg/mod.rs (2)
  • supported_endpoints (217-219)
  • tables (60-60)
crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs (2)
crates/lakekeeper/src/service/authz/implementations/allow_all.rs (10)
  • list_projects_impl (60-65)
  • can_search_users_impl (67-69)
  • is_allowed_role_action_impl (80-87)
  • is_allowed_user_action_impl (71-78)
  • is_allowed_server_action_impl (89-95)
  • is_allowed_project_action_impl (97-104)
  • is_allowed_warehouse_action_impl (106-113)
  • is_allowed_namespace_action_impl (115-125)
  • is_allowed_table_action_impl (127-137)
  • is_allowed_view_action_impl (139-149)
crates/lakekeeper/src/service/authz/mod.rs (23)
  • list_projects_impl (198-198)
  • list_projects_impl (1032-1037)
  • can_search_users_impl (209-209)
  • can_search_users_impl (1039-1041)
  • is_allowed_role_action_impl (244-249)
  • is_allowed_role_action_impl (1052-1062)
  • is_allowed_user_action_impl (221-226)
  • is_allowed_user_action_impl (1043-1050)
  • is_allowed_server_action_impl (267-271)
  • is_allowed_server_action_impl (1064-1070)
  • is_allowed_project_action_impl (287-292)
  • is_allowed_project_action_impl (1072-1082)
  • is_allowed_warehouse_action_impl (310-315)
  • is_allowed_warehouse_action_impl (1084-1094)
  • is_allowed_namespace_action_impl (333-340)
  • is_allowed_namespace_action_impl (1096-1109)
  • are_allowed_namespace_actions_impl (367-383)
  • is_allowed_table_action_impl (404-411)
  • is_allowed_table_action_impl (1111-1124)
  • are_allowed_table_actions_impl (438-454)
  • is_allowed_view_action_impl (475-482)
  • is_allowed_view_action_impl (1126-1139)
  • are_allowed_view_actions_impl (509-525)
crates/lakekeeper/src/api/iceberg/v1/views.rs (2)
crates/lakekeeper/src/catalog/views.rs (1)
  • load_view (56-63)
crates/lakekeeper/src/catalog/views/load.rs (2)
  • load_view (22-121)
  • load_view (142-158)
crates/lakekeeper/src/service/authn.rs (1)
crates/lakekeeper/src/request_metadata.rs (2)
  • is_authenticated (183-185)
  • actor (165-170)
crates/lakekeeper/src/catalog/tables.rs (1)
crates/lakekeeper/src/api/iceberg/v1/tables.rs (1)
  • not_specified (372-377)
crates/lakekeeper/src/service/authz/implementations/allow_all.rs (2)
crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs (10)
  • list_projects_impl (199-202)
  • can_search_users_impl (204-207)
  • is_allowed_user_action_impl (224-272)
  • is_allowed_role_action_impl (209-222)
  • is_allowed_server_action_impl (274-286)
  • is_allowed_project_action_impl (288-301)
  • is_allowed_warehouse_action_impl (303-316)
  • is_allowed_namespace_action_impl (318-334)
  • is_allowed_table_action_impl (357-373)
  • is_allowed_view_action_impl (396-412)
crates/lakekeeper/src/service/authz/mod.rs (20)
  • list_projects_impl (198-198)
  • list_projects_impl (1032-1037)
  • can_search_users_impl (209-209)
  • can_search_users_impl (1039-1041)
  • is_allowed_user_action_impl (221-226)
  • is_allowed_user_action_impl (1043-1050)
  • is_allowed_role_action_impl (244-249)
  • is_allowed_role_action_impl (1052-1062)
  • is_allowed_server_action_impl (267-271)
  • is_allowed_server_action_impl (1064-1070)
  • is_allowed_project_action_impl (287-292)
  • is_allowed_project_action_impl (1072-1082)
  • is_allowed_warehouse_action_impl (310-315)
  • is_allowed_warehouse_action_impl (1084-1094)
  • is_allowed_namespace_action_impl (333-340)
  • is_allowed_namespace_action_impl (1096-1109)
  • is_allowed_table_action_impl (404-411)
  • is_allowed_table_action_impl (1111-1124)
  • is_allowed_view_action_impl (475-482)
  • is_allowed_view_action_impl (1126-1139)
crates/lakekeeper/src/service/authz/mod.rs (3)
crates/lakekeeper/src/service/authz/implementations/allow_all.rs (10)
  • list_projects_impl (60-65)
  • can_search_users_impl (67-69)
  • is_allowed_user_action_impl (71-78)
  • is_allowed_role_action_impl (80-87)
  • is_allowed_server_action_impl (89-95)
  • is_allowed_project_action_impl (97-104)
  • is_allowed_warehouse_action_impl (106-113)
  • is_allowed_namespace_action_impl (115-125)
  • is_allowed_table_action_impl (127-137)
  • is_allowed_view_action_impl (139-149)
crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs (13)
  • list_projects_impl (199-202)
  • can_search_users_impl (204-207)
  • is_allowed_user_action_impl (224-272)
  • is_allowed_role_action_impl (209-222)
  • is_allowed_server_action_impl (274-286)
  • is_allowed_project_action_impl (288-301)
  • is_allowed_warehouse_action_impl (303-316)
  • is_allowed_namespace_action_impl (318-334)
  • are_allowed_namespace_actions_impl (336-355)
  • is_allowed_table_action_impl (357-373)
  • are_allowed_table_actions_impl (375-394)
  • is_allowed_view_action_impl (396-412)
  • are_allowed_view_actions_impl (414-433)
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). (9)
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: check-generated-openapi-matches
  • GitHub Check: test
  • GitHub Check: clippy
  • GitHub Check: sqlx-check
  • GitHub Check: security_audit
🔇 Additional comments (36)
crates/lakekeeper/src/service/task_queue/tabular_expiration_queue.rs (1)

49-55: Signature change looks good; verify internal-actor bypass semantics

  • The parameter type aligns with the re-exported CancellationToken (once the import above is applied). No behavioral change.

  • Given the PR introduces an InternalActor/admin short-circuit in Authorizer, please confirm that the calls within this worker (delete_table/delete_view) execute under the intended bypassed principal. If an explicit wrapper or context is required, wire it here to avoid authorization failures for background jobs.

crates/lakekeeper/src/service/task_queue/mod.rs (1)

28-28: Good re-export; simplifies the public API

Re-exporting CancellationToken at the module boundary is a nice touch to decouple downstream code from tokio_util’s path and keep the worker signatures tidy.

crates/lakekeeper/src/api/iceberg/mod.rs (1)

27-27: Public re-export of DataAccessMode looks good

This aligns the public v1 surface with the internal migration and keeps DataAccess available for compatibility. No concerns.

crates/lakekeeper/src/catalog/views/load.rs (1)

5-5: Import switch to DataAccessMode is consistent with the v1 API shift

Matches the broader migration; usage below converts via Into. LGTM.

crates/lakekeeper/src/service/storage/az.rs (1)

28-28: Import of DataAccessMode is correct

Matches new call sites and keeps supported_endpoints nearby. No issues.

crates/lakekeeper/src/catalog/views/commit.rs (3)

13-15: Import shift to DataAccessMode is aligned with the new data access abstraction

Public surface remains compatible via Into. Looks good.


163-164: Context migration to DataAccessMode looks correct

Passing the resolved DataAccessMode through the retry path keeps the core logic simple and avoids repeated conversions. No issues spotted.


118-131: Hook signatures updated correctly – no stale DataAccess usage found

I ran the suggested ripgrep checks:

  • Searched for any commit_view(…DataAccess) definitions or call sites – none were found.
  • Verified each storage backend (az.rs, gcs/mod.rs, s3.rs) handles DataAccessMode::ClientManaged appropriately.

Everything is aligned with the new DataAccessMode API, so no further changes are needed.

crates/lakekeeper/src/service/event_publisher/mod.rs (1)

25-26: Verified EndpointHook signatures are correctly updated

  • Confirmed that in endpoint_hooks.rs, the trait methods create_table, create_view, and commit_view all now include the _data_access: DataAccessMode parameter in their signatures and default implementations.
  • Verified that in crates/lakekeeper/src/service/event_publisher/mod.rs, the create_table, create_view, and commit_view impls each accept the _data_access: DataAccessMode argument (underscored to suppress unused‐variable warnings), matching the trait.

No further changes needed; these updates are consistent and non‐breaking.

crates/lakekeeper/src/api/iceberg/v1/tables.rs (1)

69-72: TablesService signature update verified

  • Both create_table and load_table in the TablesService trait and all implementations now take impl Into<DataAccessMode> + Send.
  • No remaining DataAccess parameters in those methods.

Optional: to make TablesService object-safe (for dyn TablesService), you can switch these parameters to DataAccessMode directly and convert at call sites.

crates/lakekeeper/src/service/storage/mod.rs (2)

431-436: Tests updated to pass DataAccess via .into() — good coverage of vended credentials paths.

  • Validates vended-credential flows across providers with the new enum parameter.

Also applies to: 1316-1317, 1334-1336


239-246: Verified generate_table_config signature propagation

I’ve confirmed that every backend’s generate_table_config method now uniformly accepts data_access: DataAccessMode:

  • S3 implementation (crates/lakekeeper/src/service/storage/s3.rs:392)
  • ADLS implementation (crates/lakekeeper/src/service/storage/az.rs:233)
  • GCS implementation (crates/lakekeeper/src/service/storage/gcs/mod.rs:315)
  • Top-level dispatch (crates/lakekeeper/src/service/storage/mod.rs:237)

All call sites forward the DataAccessMode enum directly, so the client-managed vs. server-delegated logic is fully centralized lower in the stack.

crates/lakekeeper/src/service/storage/gcs/mod.rs (1)

24-24: Import switch to DataAccessMode looks correct and consistent with the PR’s re-exports.

crates/lakekeeper/src/service/storage/s3.rs (1)

28-31: Type import updates (DataAccessMode + DataAccess) LGTM.

crates/lakekeeper/src/service/authn.rs (3)

47-63: InternalActor wrapper is a clean way to represent internal/admin calls.

  • Using LakekeeperInternal vs External(Actor) with serde tagging ensures wire-compat for external actors and a distinct internal tag.
  • Keeping it pub(crate) scopes usage appropriately.

Serialization layout matches Actor for the External variant, so existing APIs won’t need changes.


356-365: is_authenticated semantics are appropriate.

Internal calls are treated as authenticated; external calls delegate to Actor. This pairs well with RequestMetadata::is_authenticated and RequestMetadata::actor() mapping internal to ANONYMOUS_ACTOR to avoid leaking internal identity in downstream consumers.


619-681: Tests validate the serde story for both External and LakekeeperInternal variants.

Round-tripping JSON for principal/role/anonymous and the internal tag looks good.

crates/lakekeeper/src/service/endpoint_hooks.rs (7)

22-23: Hook API updated to DataAccessMode — consistent with upstream changes.


172-174: create_table now passes DataAccessMode through — no behavior change.


228-229: create_view updated to DataAccessMode — passthrough is correct.


256-257: commit_view updated to DataAccessMode — passthrough is correct.


411-412: EndpointHook trait: create_table signature change is fine; no breaking behavior for implementors that recompile.


435-436: EndpointHook trait: create_view signature change mirrors collection change.


448-449: EndpointHook trait: commit_view signature change mirrors collection change.

crates/lakekeeper/src/catalog/views/create.rs (4)

8-9: Import switch to DataAccessMode aligns with the broader migration.


35-39: Accepting impl Into improves ergonomics; immediate conversion is good.

Minor note: you use data_access twice (for storage_profile and hooks). This implies DataAccessMode is Copy (likely). If it ever stops being Copy, you’ll need a clone here.

If you want, I can add an assertion test ensuring DataAccessMode: Copy to prevent accidental regressions.


185-186: Hook invocation passes DataAccessMode — keeps hooks informed of access semantics.

Good to expose this context for auditing/telemetry hooks.


208-209: Tests still passing DataAccess is fine due to Into.

This preserves test readability while using the new API at call sites.

crates/lakekeeper/src/request_metadata.rs (4)

48-56: Use of Into in set_authentication is correct and future-proof

Switching to InternalActor via .into() cleanly isolates Internal vs External actors at the boundary. No issues spotted.


64-69: user_id() mapping covers all current variants

Correctly exposes principal for External actors and hides user for LakekeeperInternal/Anonymous. This aligns with the new internal principal model.


294-302: Router middleware initializes InternalActor correctly

Initializing via Actor::Anonymous.into() is consistent with the new InternalActor field. No issues spotted.


34-35: Internal actor exposure: is_authenticated semantics verified and safe

I scanned the codebase for direct uses of RequestMetadata::is_authenticated() and confirmed:

  • RequestMetadata::is_authenticated() simply calls self.actor.is_authenticated() (crates/lakekeeper/src/request_metadata.rs:183–185).
  • The only direct call site is in the bootstrap handler:
    • crates/lakekeeper/src/api/management/v1/bootstrap.rs:125
    if request_metadata.is_authenticated() { … }
  • All other authorization logic uses metadata.actor().is_authenticated() (e.g. openfga impl) or the more restrictive has_admin_privileges(), which is the sole source of elevated rights.
  • InternalActor::is_authenticated() returns true for LakekeeperInternal, but mapping via actor() converts internal calls to Actor::Anonymous, so both actor().is_authenticated() and RequestMetadata::is_authenticated() yield false for internal flows—matching the intended “Anonymous” view.

Since elevated rights are gated exclusively through has_admin_privileges() and there are no other unguarded uses of is_authenticated(), this behavior is intentional and poses no risk of blocking internal tasks or leaking an internal superuser. No changes required here.

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

411-419: Registration path uses not_specified().into(): consistent with new mode

The conversion here keeps behavior unchanged. LGTM.


486-490: load_table: parameterized data_access follows the new pattern; no logic changes

Using Into and converting at the call site is clean. No issues spotted.

Also applies to: 553-561

crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs (1)

199-207: *_impl migration is consistent; wrappers handle admin-bypass cleanly

All methods now implement the *_impl variants and rely on trait wrappers for admin short-circuiting. The batch-check implementations are correct and chunked. No functional concerns here.

Also applies to: 209-223, 224-272, 274-286, 288-301, 303-316, 318-335, 336-355, 357-373, 375-394, 396-412, 414-433

crates/lakekeeper/src/service/authz/implementations/allow_all.rs (1)

60-69: *AllowAllAuthorizer: _impl renames are complete and behavior preserved

Bodies remain unchanged (always-allowed), just under the *_impl names. This matches the new trait contract.

Also applies to: 71-150

Comment thread crates/lakekeeper/src/catalog/tables.rs Resolved
coderabbitai[bot]
coderabbitai Bot previously approved these changes Aug 26, 2025

@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 (10)
crates/lakekeeper/src/lib.rs (1)

36-36: Minor API hygiene note: document the new public surface to avoid semver surprises

Re-exporting a third-party type in your public API couples your crate’s semver to that dependency’s major version. This is likely intentional here, but consider:

  • Add a brief note in the crate-level docs that CancellationToken is re-exported for ergonomic reasons.
  • If you ever want to decouple later, plan for a wrapper/newtype and migration steps.

Not a blocker.

crates/lakekeeper/src/serve.rs (1)

27-28: Keep docs consistent with the new import path

In the nearby doc comment for the RegisterBackgroundServiceFn return type, you still spell out tokio::task::AbortHandle explicitly while the argument type now uses crate::CancellationToken. Consider standardizing the docs to reference items the same way you import them (e.g., “AbortHandle” after the use), and optionally mention the crate-level CancellationToken for readers of the public API.

crates/lakekeeper/src/service/health.rs (1)

8-8: Minor consistency: use the imported alias instead of fully-qualified path

You import CancellationToken at Line 8 but still reference crate::CancellationToken in the function signature. Use the imported alias for consistency within this file.

Apply this diff:

-        cancellation_token: crate::CancellationToken,
+        cancellation_token: CancellationToken,

Also applies to: 17-18

crates/lakekeeper/src/tests/mod.rs (1)

299-306: Nit: consider aligning naming with “built_in”

Function is named spawn_build_in_queues while related API is register_built_in_queues. If/when you touch this next, rename to spawn_built_in_queues for consistency.

crates/lakekeeper/src/service/storage/az.rs (2)

240-246: Early return when data access not requested: verify caller expectations

Returning an empty TableConfig when data_access.requested() is false avoids unnecessary SAS generation, which is good. Note that, unlike S3 (which defaults to remote signing when the header is absent), ADLS will now return no delegation config if the client didn’t request it. Please confirm this cross-backend divergence is intentional and compatible with your clients.

If you want stricter parity with S3 defaults (enable delegation by default), consider treating “no header” as a delegated mode at the router level, or document that ADLS requires explicit request signals.


362-367: Defensive trim on host in SAS property key (optional)

host should already be normalized without a trailing slash, but adding a defensive trim avoids surprising keys if a custom host sneaks in with a slash.

Apply this small change:

 fn iceberg_sas_property_key(&self) -> String {
     iceberg_sas_property_key(
         &self.account_name,
-        self.host.as_deref().unwrap_or(DEFAULT_HOST),
+        self.host
+            .as_deref()
+            .map(|h| h.trim_end_matches('/'))
+            .unwrap_or(DEFAULT_HOST),
     )
 }
crates/lakekeeper/src/api/iceberg/v1/tables.rs (2)

65-73: Trait method now accepts Into for create_table

Accepting impl Into + Send keeps old DataAccess callers working while enabling richer modes. Good balance between ergonomics and compatibility.

If compile times or monomorphization become a concern, you can switch the trait method signature to take DataAccessMode directly and convert at call sites.


82-89: Trait method now accepts Into for load_table

Same comment as create_table: good compatibility layer.

Consider taking DataAccessMode directly if you’d like to avoid generic instantiations here.

crates/lakekeeper/src/service/storage/s3.rs (1)

402-416: Defaulting to remote signing when header is absent changes semantics — please confirm

The calculation sets remote_signing = !vended_credentials || remote_signing, which enables remote signing even when the client didn’t request delegation (header absent yields false/false). This diverges from ADLS, which returns no delegation config when not requested.

  • If this “delegation by default” is intentional for S3, consider documenting the cross-backend difference to avoid surprises.
  • If not intentional, you can keep remote signing strictly opt-in and rely on the fallback that already enables remote signing when vended-credentials is requested but cannot be issued.

To make remote signing strictly opt-in (closer to ADLS behavior), apply:

-                let remote_signing = !vended_credentials || remote_signing;
+                let remote_signing = remote_signing;
                 (remote_signing, vended_credentials)

If you want “delegation by default” consistently across backends, consider interpreting absence of the header as ServerDelegated at the router layer for ADLS too (or introduce a config flag for the default).

crates/lakekeeper/src/service/task_queue/mod.rs (1)

528-536: Expose SpecializedTask config/data publicly: confirm API stability

Making config and data public improves test ergonomics but does expand the public surface. If this is only used in tests, consider getters to retain flexibility for future internal representation changes.

Would you like a follow-up to add accessors and keep fields non-public?

📜 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 31e4180 and e0a7f41.

📒 Files selected for processing (22)
  • crates/lakekeeper/src/api/iceberg/types.rs (1 hunks)
  • crates/lakekeeper/src/api/iceberg/v1/tables.rs (4 hunks)
  • crates/lakekeeper/src/api/mod.rs (1 hunks)
  • crates/lakekeeper/src/api/router.rs (1 hunks)
  • crates/lakekeeper/src/catalog/views/commit.rs (3 hunks)
  • crates/lakekeeper/src/catalog/views/create.rs (3 hunks)
  • crates/lakekeeper/src/catalog/views/load.rs (2 hunks)
  • crates/lakekeeper/src/lib.rs (1 hunks)
  • crates/lakekeeper/src/metrics.rs (1 hunks)
  • crates/lakekeeper/src/serve.rs (1 hunks)
  • crates/lakekeeper/src/service/authz/mod.rs (17 hunks)
  • crates/lakekeeper/src/service/health.rs (2 hunks)
  • crates/lakekeeper/src/service/storage/az.rs (3 hunks)
  • crates/lakekeeper/src/service/storage/gcs/mod.rs (2 hunks)
  • crates/lakekeeper/src/service/storage/s3.rs (4 hunks)
  • crates/lakekeeper/src/service/task_queue/mod.rs (5 hunks)
  • crates/lakekeeper/src/service/task_queue/tabular_expiration_queue.rs (2 hunks)
  • crates/lakekeeper/src/service/task_queue/tabular_purge_queue.rs (1 hunks)
  • crates/lakekeeper/src/tests/drop_warehouse.rs (1 hunks)
  • crates/lakekeeper/src/tests/mod.rs (1 hunks)
  • crates/lakekeeper/src/tests/stats.rs (1 hunks)
  • crates/lakekeeper/src/tests/tasks.rs (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (7)
  • crates/lakekeeper/src/service/task_queue/tabular_expiration_queue.rs
  • crates/lakekeeper/src/service/storage/gcs/mod.rs
  • crates/lakekeeper/src/catalog/views/create.rs
  • crates/lakekeeper/src/catalog/views/load.rs
  • crates/lakekeeper/src/api/iceberg/types.rs
  • crates/lakekeeper/src/catalog/views/commit.rs
  • crates/lakekeeper/src/service/authz/mod.rs
🧰 Additional context used
🧬 Code graph analysis (2)
crates/lakekeeper/src/service/storage/s3.rs (1)
crates/lakekeeper/src/api/iceberg/mod.rs (1)
  • supported_endpoints (217-219)
crates/lakekeeper/src/service/storage/az.rs (1)
crates/lakekeeper/src/api/iceberg/mod.rs (1)
  • supported_endpoints (217-219)
⏰ 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: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: test
  • GitHub Check: sqlx-check
  • GitHub Check: check-generated-openapi-matches
  • GitHub Check: clippy
🔇 Additional comments (22)
crates/lakekeeper/src/lib.rs (1)

36-36: LGTM: public re-export of CancellationToken is clean and useful

This aligns the codebase around a single import path and reduces friction for downstreams. No functional concerns.

crates/lakekeeper/src/serve.rs (1)

27-28: LGTM: switched to crate::CancellationToken

Importing the cancellation token from the crate root matches the new public re-export and keeps call sites uniform. No behavior change.

crates/lakekeeper/src/tests/tasks.rs (1)

138-138: LGTM: adopt crate-level CancellationToken in tests

Consistent with the crate’s public re-export; keeps tests aligned with production code. No further changes needed.

crates/lakekeeper/src/tests/stats.rs (1)

29-29: LGTM: use crate::CancellationToken

Matches the new crate-level re-export and avoids direct dependency paths in tests.

crates/lakekeeper/src/tests/drop_warehouse.rs (1)

108-114: LGTM: unified CancellationToken source and proper cancellation flow

Creating and passing crate::CancellationToken into spawn_build_in_queues, then canceling and awaiting, is correct and keeps shutdown explicit and deterministic.

crates/lakekeeper/src/api/router.rs (1)

32-33: Consistent crate-wide CancellationToken alias — good migration

Importing CancellationToken from the crate root keeps API surfaces consistent and avoids leaking the upstream path. The serve signature and use of cancelled().await remain correct.

crates/lakekeeper/src/api/mod.rs (1)

27-27: Re-export Verification Successful

All checks passed—tokio_util::sync::CancellationToken is unconditionally re-exported, and there are no remaining direct imports of the old path. Public APIs now correctly reference crate::CancellationToken.

• crates/lakekeeper/src/lib.rs line 36: pub use tokio_util::sync::CancellationToken; confirmed
• No other instances of tokio_util::sync::CancellationToken remain in the workspace
• crates/lakekeeper/src/api/mod.rs line 27: shutdown_signal now takes crate::CancellationToken as intended

crates/lakekeeper/src/metrics.rs (1)

22-23: Metrics exporter uses crate::CancellationToken correctly

The cancellation path is clean: logs and returns Ok(()), while exporter errors are surfaced. Looks good.

crates/lakekeeper/src/service/task_queue/tabular_purge_queue.rs (1)

47-48: Worker adopts crate::CancellationToken — consistent with the rest of the crate

Signature change aligns with the new alias; cloning and propagation into poll_for_new_task remain intact.

crates/lakekeeper/src/tests/mod.rs (1)

299-317: No lingering direct uses of tokio_util::sync::CancellationToken remain
The repository scan only found the intended re-export in crates/lakekeeper/src/lib.rs:36, which preserves the new crate-root alias. All function signatures and test helpers now consistently reference crate::CancellationToken.

crates/lakekeeper/src/service/storage/az.rs (2)

26-31: Import shift to DataAccessMode aligns with the new API surface

Switching to iceberg::v1::tables::DataAccessMode matches the wider PR and keeps storage backends consistent on input type.


233-241: Signature updated to DataAccessMode

generate_table_config now receives DataAccessMode; this is a clean boundary for backends to decide whether to vend SAS at all. Call sites passing Into will compose well here.

crates/lakekeeper/src/api/iceberg/v1/tables.rs (2)

288-311: Credentials route path corrected to include the table segment

“/{prefix}/namespaces/{namespace}/tables/{table}/credentials” is the expected shape. Router and TableParameters wiring look correct.


362-378: Introduce DataAccessMode with ClientManaged/ServerDelegated variants

Clear separation of concerns: ClientManaged short-circuits delegation while ServerDelegated carries the old DataAccess flags. The requested() helper reads well and makes backend conditionals straightforward.

crates/lakekeeper/src/service/storage/s3.rs (4)

26-32: Importing DataAccessMode (+ DataAccess) matches the new v1 surface

Keeps the S3 backend in sync with the API change. No issues.


391-401: Signature updated to DataAccessMode

generate_table_config now mirrors ADLS/GCS patterns. Call sites that pass DataAccess will continue to work via From.


435-439: Use logical OR for STS check

self.sts_enabled || matches!(...) is the correct boolean op; the prior bitwise OR could lead to confusing intent. Nice fix.


485-492: Helpful debug log on fallback to remote signing

Good operator visibility when STS is disabled or unsupported — will make triaging client config issues easier.

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

26-30: Re-exporting CancellationToken from crate root simplifies imports

This aligns internal and external API surfaces. 👍


42-46: TaskQueueWorker now uses crate::CancellationToken

Unifies the type across the module; worker closures remain ergonomically typed.


642-649: poll_for_new_task now takes crate::CancellationToken

Matches the re-export and reduces external dependencies in signatures. Looks good.


1023-1028: Tests instantiate crate::CancellationToken

Test now uses the re-exported type; compiles cleanly with the new signatures.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Aug 26, 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 (5)
crates/lakekeeper/src/service/storage/gcs/mod.rs (2)

317-321: Consider accepting impl Into for ergonomics and consistency.

Most call sites elsewhere accept Into. Mirroring that here reduces friction and avoids call-site .into() boilerplate.

 pub(crate) async fn generate_table_config(
     &self,
-        data_access: DataAccessMode,
+        data_access: impl Into<DataAccessMode>,
     cred: &GcsCredential,
     table_location: &Location,
     storage_permissions: StoragePermissions,
 ) -> Result<TableConfig, TableConfigError> {
+        let data_access = data_access.into();

322-330: Nit: avoid pre-allocating TableProperties when returning early.

Move the allocation after the early return and keep the “config/creds clone” pattern intact.

-        let mut table_properties = TableProperties::default();
-
-        if matches!(data_access, DataAccessMode::ClientManaged) {
-            return Ok(TableConfig {
-                creds: table_properties.clone(),
-                config: table_properties,
-            });
-        }
+        if matches!(data_access, DataAccessMode::ClientManaged) {
+            let props = TableProperties::default();
+            return Ok(TableConfig {
+                config: props.clone(),
+                creds: props,
+            });
+        }
+        let mut table_properties = TableProperties::default();
crates/lakekeeper/src/service/storage/az.rs (3)

235-239: Adopt impl Into here as well for parity with other modules.

Keeps caller ergonomics consistent and mirrors the GCS path proposal.

     pub async fn generate_table_config(
         &self,
-        data_access: DataAccessMode,
+        data_access: impl Into<DataAccessMode>,
         table_location: &Location,
         credential: &AzCredential,
         permissions: StoragePermissions,
     ) -> Result<TableConfig, TableConfigError> {
+        let data_access = data_access.into();

240-245: ClientManaged early-return is correct; consider sharing a tiny helper and add a guard test.

  • Optional: create a small helper that builds TableConfig from props (config=props.clone(), creds=props) to de-duplicate across AZ/GCS.
  • Add a unit test to ensure ClientManaged skips any network/token lookups and returns an empty config.

Example test you can drop into the existing test module:

#[tokio::test]
async fn client_managed_returns_empty_config_without_network() {
    use std::str::FromStr;
    use crate::service::storage::{StoragePermissions, az::AdlsProfile, az::AzCredential};
    use crate::api::iceberg::v1::tables::DataAccessMode;
    use lakekeeper_io::Location;

    let profile = AdlsProfile {
        filesystem: "fs".into(),
        key_prefix: Some("pfx".into()),
        account_name: "acct".into(),
        authority_host: None,
        host: None,
        sas_token_validity_seconds: None,
        allow_alternative_protocols: false,
    };
    let loc = Location::from_str("abfss://[email protected]/pfx/table").unwrap();
    // Credentials won't be used due to early return
    let cred = AzCredential::ClientCredentials {
        client_id: "id".into(),
        tenant_id: "tenant".into(),
        client_secret: "secret".into(),
    };

    let cfg = profile
        .generate_table_config(DataAccessMode::ClientManaged, &loc, &cred, StoragePermissions::Read)
        .await
        .expect("client-managed should not attempt network calls");
    assert!(cfg.config.inner().is_empty());
    assert!(cfg.creds.inner().is_empty());
}

If you prefer, I can wire this up for GCS too for symmetry.


365-366: Trim potential trailing slashes in endpoint suffix to keep property keys canonical.

Defensive normalization avoids accidental keys like "adls.sas-token.account.dfs.core.windows.net/".

-            self.host.as_deref().unwrap_or(DEFAULT_HOST),
+            self.host
+                .as_deref()
+                .unwrap_or(DEFAULT_HOST)
+                .trim_end_matches('/'),
📜 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 e0a7f41 and f66e80a.

📒 Files selected for processing (2)
  • crates/lakekeeper/src/service/storage/az.rs (3 hunks)
  • crates/lakekeeper/src/service/storage/gcs/mod.rs (2 hunks)
🧰 Additional context used
🧬 Code graph analysis (1)
crates/lakekeeper/src/service/storage/az.rs (1)
crates/lakekeeper/src/api/iceberg/mod.rs (1)
  • supported_endpoints (217-219)
⏰ 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: test
  • GitHub Check: check-generated-openapi-matches
  • GitHub Check: clippy
  • GitHub Check: sqlx-check
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
🔇 Additional comments (3)
crates/lakekeeper/src/service/storage/gcs/mod.rs (2)

24-24: Switch to DataAccessMode import aligns with the new v1 API.

This matches the refactor toward tables::DataAccessMode; no issues spotted.


324-329: Running a quick lookup of the Iceberg‐API’s DataAccess type and its conversion into DataAccessMode will show exactly when ClientManaged can be chosen. The following shell snippet will:

  • Print the pub struct DataAccess definition, so we know which flags the client can set.
  • Show the impl From<DataAccess> for DataAccessMode block, so we see the precise conditions under which ClientManaged is returned.

Once we have that, we can confirm whether any external endpoint could produce a ClientManaged path, or if that mode remains strictly under internal/trusted guards.

crates/lakekeeper/src/service/storage/az.rs (1)

28-29: Import switch to DataAccessMode looks correct.

Matches the broader API changes; no further action.

@c-thiel
c-thiel enabled auto-merge (squash) August 26, 2025 10:01
@c-thiel
c-thiel merged commit c3c45ce into main Aug 26, 2025
@c-thiel
c-thiel deleted the ct/internal-authz branch August 26, 2025 10:05
@c-thiel c-thiel mentioned this pull request Aug 25, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Sep 7, 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