Skip to content

mcp-data-platform-v1.67.5

Choose a tag to compare

@github-actions github-actions released this 27 May 03:06
· 69 commits to main since this release
d0d14a1

What's fixed

Asset thumbnails now load for shared collection recipients (#486)

When a collection is shared with a user, the assets inside that collection have their own ownership. The asset thumbnail handler only checked direct asset-level shares, so recipients of a shared collection saw 403 on every asset thumbnail inside it.

Fix: canViewAsset and canEditAsset now fall back to a collection-level permission check via GetUserAssetPermissionViaCollection, which joins through portal_collection_sections and portal_collection_items to find whether the requesting user has access to the asset through any shared collection.

Share revoke no longer returns 500 on repeat clicks (#486)

The Revoke store method returned an error when the share was already revoked (affected == 0), which surfaced as a 500 to the client. Combined with the query invalidation bug below, this made share deletion appear completely broken: the first click revoked the share in the database but the UI never refreshed, so subsequent clicks hit the already-revoked row and returned 500.

Fix: Revoke is now idempotent. The AND revoked = FALSE guard is removed so revoking an already-revoked share is a no-op.

Collection share list refreshes after revoke (#486)

useRevokeShare only invalidated the ["shares"] query key on success, but collection shares use ["collection-shares"]. After revoking a collection share, the UI kept showing stale data.

Fix: onSuccess now also invalidates ["collection-shares"].

Confirmation step before revoking a share (#486)

The trash icon on shares previously fired the revoke mutation immediately on click with no confirmation. Now clicking the trash shows inline "Remove" / "Cancel" buttons. The confirmation state resets when the dialog closes.

Changelog

Bug Fixes

  • d0d14a1: fix(portal): shared collection assets visible to recipients, idempotent revoke, confirm before remove (#486) (@cjimti)

Installation

Homebrew (macOS)

brew install txn2/tap/mcp-data-platform

Claude Code CLI

claude mcp add mcp-data-platform -- mcp-data-platform

Docker

docker pull ghcr.io/txn2/mcp-data-platform:v1.67.5

Verification

All release artifacts are signed with Cosign. Verify with:

cosign verify-blob --bundle mcp-data-platform_1.67.5_linux_amd64.tar.gz.sigstore.json \
  mcp-data-platform_1.67.5_linux_amd64.tar.gz