Skip to content
lake
Browse this documentation section

Tenant catalog and managed-object authorization plan

Domain model

Validation rejects empty/oversized identifiers, separators, ./.., control characters, and values unsafe as a catalog name or storage path segment.

Work sequence

  1. Add validated identity/grant types and multi-token constant-time authentication in lake-flight, with redacted parsing/config errors.
  2. Attach an explicit development principal in insecure loopback mode and preserve current exposure rules.
  3. Add Query’s request-local authorization gate before SQL planning and apply the same policy to Flight SQL discovery using only cached catalog state.
  4. Carry trusted delegation over Query→Metasrv, independently enforce every metadata action/write, and preserve it through follower forwarding.
  5. Derive tenant child managed-stage descriptors and prove SDK local/S3 prefix containment across two tenants.
  6. Wire protected principal-map configuration through CLI processes; document IAM prefix requirements, rotation/restart behavior, and denial metrics.
  7. Run spec lifecycle, TLS integration, LocalStack, strict Clippy, and the full gate; record evidence before review/merge.

Safety notes