Skip to content

[P1] Release gate: verify tagging authorization consistently across local and proxy paths #337

Closed

Description

@Vonng

Complete the tagging API authorization acceptance identified during review of local main e51bff35a. This is a release gate for deployments using active-active proxying and object-tag policies. Detailed security evidence remains private under SECURITY.md.

Acceptance:

  • Identity verification precedes protected work, and local and remote objects receive the same effective caller authorization.
  • ExistingObjectTag conditions are evaluated against the addressed object/version before a proxied mutation.
  • Cover anonymous, invalid-signature, explicitly denied and authorized callers, both current and explicit versions, and failed remote metadata/tag reads.
  • An inability to read the tags cannot be used as an affirmative grant to mutate them.
  • Keep missing-object disclosure/error semantics a separate, specified contract. Do not add a blanket ListBucketVersions rule merely by analogy to another handler.
  • Retain normal authorized active-active operations and meaningful backend errors.

Source classification: inherited proxy structure, with SILO tag-authorization changes affecting the surrounding path. Estimate: 0.5–1 day including handler regressions. Private review reference: P0-2a.

Activity

  1. Vonng commented on Nov 11, 2026

    @Vonng
    MemberAuthor

    Fixed on main by 14ecb222e, 67a90dfef, and the final follow-up 293ab78b4.

    GET, PUT and DELETE tagging now share remote tag inspection and authorization. Authentication precedes protected work, and callers with no possible permission are rejected before remote reads. Every present replica must satisfy the caller's effective policy for the addressed version. An unreadable target prevents success; unknown tags never authorize a read or mutation.

    The follow-up distinguishes a missing replica from a present, untagged object. Replication lag therefore does not invalidate a legitimate tag-conditioned grant on the replicas that hold the object. Writes target only those replicas. If every target is missing, the handler applies the existing empty-tag authorization check once before returning the missing-object error. No blanket ListBucketVersions requirement was added. DELETE also preserves retryable local storage errors for potentially authorized callers, consistent with PUT.

    The trade-off is additional metadata reads and conservative failure when any relevant replica is unreadable or denies access. This is necessary to enforce policies consistently across divergent replicas. It does not make the remote write fan-out transactional.

    Validation: GET/PUT/DELETE handler regressions on ErasureSD and Erasure cover divergent tags in both target orders, partial presence, genuinely untagged objects, invalid/anonymous/denied/no-policy callers, explicit version forwarding, unavailable reads and disabled targets. Focused race tests, local make test, and Go CI on 8587e061b passed. Closing the tagging authorization gate.

  2. moved this from Backlog to Done in Siloon Nov 11, 2026
  3. added
    bug
    on Nov 11, 2026
  4. added this to the 20261115 milestone on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions