[Workstream] Authorization integration — Zenflows, SDK, GUI and services

Aperta
#74 12 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
5/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
elixir
Ambito
authorization

Direzione di ricerca

This is a coordination issue, not a code task: it links Zenflows PRs #71 to #73 and SDK and GUI PRs that are mostly drafts or blocked on each other. Read the PR table and the workstream:authz-integration label search first, then the linked PRs' descriptions to see their dependency order. There is no single change to make here, and no clear finish line for a newcomer; contributors should comment on a specific slice instead.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

workstream:authz-integration

Workstream: authorization integration across Interfacer

This is the central coordination issue for the same cross-repository implementation block: Zenflows authorization, SDK error/signing contracts, GUI integration, and the related service work that follows.

Live organization-wide PR view: all linked PRs, including drafts and closed PRs.
Filter with is:open or is:merged when needed. GitHub PR state is authoritative; this issue is not a duplicate source of CI/merge state.

Common label in every participating repository: workstream:authz-integration.

Current PRs and dependencies

Repository / scope PR Dependency
Zenflows: authorization foundation / CRUD https://github.com/interfacerproject/zenflows/pull/71 First backend slice
Zenflows: economic event authorization https://github.com/interfacerproject/zenflows/pull/72 Stacked on #71
Zenflows: processes, intents, proposals https://github.com/interfacerproject/zenflows/pull/73 Stacked on #72
SDK: fail-closed signing and structured errors https://github.com/interfacerproject/interfacer-client/pull/2 Companion contract for GUI integration
GUI: denial handling and draft preservation https://github.com/interfacerproject/interfacer-gui/pull/912 Draft: requires the SDK PR to be merged/released and GUI dependency updated
GUI: safe claim/import flow https://github.com/interfacerproject/interfacer-gui/pull/913 Draft, stacked on #912; also needs real claim/browser validation
Medusa: marketplace — wallet-signed buyers/sellers, durable Zenflows outbox, seller-signed relay for enforced authz https://github.com/interfacerproject/interfacer-medusa/pull/1 Draft; local target Zenflows #84 + SDK #7; companion GUI #922
GUI: marketplace — buyer/seller wallet signing, sync states, relay body checks https://github.com/interfacerproject/interfacer-gui/pull/922 Draft, stacked on GUI #921; needs SDK #7 released and Medusa #1
Medusa: build listings — makers list the designs they build; live matching quotes listed makers only https://github.com/interfacerproject/interfacer-medusa/pull/2 Draft, stacked on Medusa #1; companion GUI #924
GUI: presentable marketplace woven into the app (catalogue, project-page Buy / Get it built, checkout, orders, Selling, Start selling, profile Shop, showcase seed) https://github.com/interfacerproject/interfacer-gui/pull/924 Draft, stacked on GUI #922; needs Medusa #2
Medusa: pilot deployability — /market API, proxy key, audience-bound one-use envelopes, Docker image https://github.com/interfacerproject/interfacer-medusa/pull/3 Draft, stacked on Medusa #2; deployed on dpp-dev via staging
GUI: pilot proxy mode, /market API, audience-bound signatures https://github.com/interfacerproject/interfacer-gui/pull/925 Draft, stacked on GUI #924; deployed on dpp-dev via staging
Zenflows: HTTPC — one request in flight per connection (concurrent signed calls returned 500) https://github.com/interfacerproject/zenflows/pull/85 Draft, independent of the stack; in staging
Inbox / Wallet / DPP: Debian 12 builder + Devuan 5 runtime (bullseye images no longer build) https://github.com/interfacerproject/zenflows-inbox/pull/4 · https://github.com/interfacerproject/zenflows-wallet/pull/6 · https://github.com/interfacerproject/interfacer-dpp/pull/9 Draft, independent; in each staging
GUI: marketplace pilot — inbox notifications for orders (new order → seller, built/delivered → buyer); outbox marker hidden in notes https://github.com/interfacerproject/interfacer-gui/pull/927 Draft, base staging; merged into staging
Medusa: operator runbook for the marketplace pilot https://github.com/interfacerproject/interfacer-medusa/pull/4 Draft, base staging; merged into staging
GUI: marketplace translated into Italian, German and French https://github.com/interfacerproject/interfacer-gui/pull/928 Draft, base staging; merged into staging

The backend stack is validated locally as a combined installation, not an instruction to deploy the first slice alone. There is no authorization here to merge, publish or deploy.

Scope and boundaries

Current GUI priority is personal authorization for resources, processes, intents and proposals, including clear denied/read-only behavior and safe follow-up handling. Do not equate a contributor, controller, ValueFlows accountable party/custodian, or seller.

New organization UX roles/invitations/inheritance remain undecided. Existing backend organization protections stay active. Catalogue/read privacy and authorization in DPP, inbox, wallet and Medusa are separate surfaces: the Zenflows PRs do not automatically protect those services. Related future PRs belong to this workstream when they address the same integration.

Validation to date uses an isolated synthetic local sandbox; no production/staging credentials or data. Targeted backend tests passed; the complete backend suite still has two documented failures. SDK/GUI regression tests and real SDK/WASM Alice/Bob API checks passed locally. Full GUI browser validation and cross-service commerce validation are not claimed. Exception, marketplace slice only (Medusa #1 / GUI #922): local cross-service validation against Zenflows #84 with GQL_AUTH_CALLS=true AUTHZ_ENFORCE=true AUTHZ_ALLOW_UNCHECKED=false, synthetic People, 27 Oct 2026 (see the checkpoint comment below).

Convention for subsequent PRs

For every related PR, including in a new repository:

  • apply workstream:authz-integration (create the same repository label if absent);
  • add Workstream: <this issue URL> to the PR description;
  • add explicit Depends on: links where relevant, and record its scope/link in this issue;
  • distinguish review-ready from draft/blocked, local mocks from real-service/browser validation, and implementation from rollout.

Use a non-closing workstream backlink, not Fixes/Closes: merging one slice must not close the entire integration.

An organization GitHub Project can later use the same label and issue as its workstream key. Current CLI credentials lack Project scope; this issue and the shared-label search work without extra token permissions.

Lingua principale
Elixir
Stelle
18
Fork
4
Merge medio
22g 17h
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di interfacerproject/zenflows

Tutte le issue di interfacerproject/zenflows

Issue simili

Altre issue su Elixir

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.