New API-key scope pruefwerk:uploads.write ("Upload files to targets"), entitlement pruefwerk. Requested by the Prüfwerk session.
Why: the read-only Siemens TIA Portal connector (pruefwerk epic #1095, #1090/#1094) runs on the customer's Windows machine and uploads a TIA export with a workspace API key, outbound HTTPS only. Prüfwerk #1090 puts POST /api/v1/targets/{id}/artifacts/upload under this scope; the connector holds uploads.write + scans.run.
internal/scopes: catalogue entry plus a test.
Integration keys (Werkmeister) don't get it; their list is unchanged.
No other contract change. Portal labels: platform/portal (feat/scope-uploads-write).
Tests: go test ./internal/scopes/, the API key tests in internal/server (short), golangci-lint: green.
New API-key scope `pruefwerk:uploads.write` ("Upload files to targets"), entitlement pruefwerk. Requested by the Prüfwerk session.
**Why:** the read-only Siemens TIA Portal connector (pruefwerk epic #1095, #1090/#1094) runs on the customer's Windows machine and uploads a TIA export with a workspace API key, outbound HTTPS only. Prüfwerk #1090 puts `POST /api/v1/targets/{id}/artifacts/upload` under this scope; the connector holds `uploads.write` + `scans.run`.
- `internal/scopes`: catalogue entry plus a test.
- Integration keys (Werkmeister) don't get it; their list is unchanged.
- No other contract change. Portal labels: platform/portal (feat/scope-uploads-write).
Tests: `go test ./internal/scopes/`, the API key tests in `internal/server` (short), golangci-lint: green.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The read-only TIA Portal connector (pruefwerk epic #1095, #1090/#1094)
runs on the customer's machine and uploads a TIA export with a
workspace API key: POST /api/v1/targets/{id}/artifacts/upload. The new
scope needs the pruefwerk entitlement; integration keys don't get it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sharang
merged commit 05118d354e into main2026-12-01 14:00:19 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
New API-key scope
pruefwerk:uploads.write("Upload files to targets"), entitlement pruefwerk. Requested by the Prüfwerk session.Why: the read-only Siemens TIA Portal connector (pruefwerk epic #1095, #1090/#1094) runs on the customer's Windows machine and uploads a TIA export with a workspace API key, outbound HTTPS only. Prüfwerk #1090 puts
POST /api/v1/targets/{id}/artifacts/uploadunder this scope; the connector holdsuploads.write+scans.run.internal/scopes: catalogue entry plus a test.Tests:
go test ./internal/scopes/, the API key tests ininternal/server(short), golangci-lint: green.🤖 Generated with Claude Code