Skip to content

Feature: Fetch, cache and serve product manifests #608

Description

@filvecchiato

Description

Resolve a product's root manifest from dotNS, cache it, and answer trustedProducts grant questions from it. Fills the manifest_grants_scope seam in truapi-server/src/runtime.rs.

Motivation

Nothing in the repo reads a manifest, so every cross-product access is refused whatever a publisher granted.

Requirements

  • Parse trustedProducts; all is a superset, unrecognised values are ignored.
  • Cache for one day. The TTL is the revocation bound, not a performance knob.
  • A grant never overrides a denial the user already gave.
  • One answer for every failure, so the call cannot probe which products exist.
  • Works without the target product running.

Tasks

  • Implementation — rust-core
  • Implementation — hosts
    • dotli
    • Desktop
    • iOS
    • Android
    • host-cli

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Pocket v2Pocket modality v2 workstreamProduct permissionsCross-product proof, manifest, blessed productsR2 blockerif blocks at least 1 SPA for R2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions