Skip to content

Ticket 51/work - #1

Merged
wistefan merged 6 commits into
mainfrom
ticket-51/work
Aug 18, 2026
Merged

Ticket 51/work#1
wistefan merged 6 commits into
mainfrom
ticket-51/work

Conversation

@wistefan

Copy link
Copy Markdown
Collaborator

No description provided.

wistefan and others added 2 commits August 12, 2026 14:07
Evolve the consent-filter plugin from the earlier /check model into the
consent-manager two-call flow and harden it for real deployment:

- Two-call consent check (identifier/search + consents/participants),
  correlated across the ext-plugin-pre-req/post-resp phases by the stable
  Nginx $request_id.
- Participant authentication via client-credentials login (/participants/login,
  token cached/refreshed) with provider self-description derived from
  /participants/me. consent_key is optional (the authority's APISIX facade
  injects it); consent_key/client_id/client_secret fall back to environment
  variables so the participant secret need not live in the route config.
- Per-participant token/SD cache lock so concurrent first requests coalesce
  onto a single login instead of serializing on a global lock held across the
  HTTP call.
- Access audit log: emit one OTLP/HTTP log record per decision to an
  OpenTelemetry Collector (resource service.name=consent-access-audit for
  routing), asynchronous, batched and best-effort so it never blocks or
  changes the access decision.
- Remove the now-dead internal/filter package (superseded by the coarse
  allow/deny gate).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@wistefan wistefan added the patch label Aug 17, 2026
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@wistefan
wistefan merged commit 6d011ee into main Aug 18, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants