console: classify the platform-host door for linked apps
POST .../platform-host refuses a linked app, as the instance create it delegates to does (linkedRefuse). TestLinkedPolicyCoversEveryAppRoute failed from ed350cad without the entry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+1
−0
internal/console/linkedpolicy.go+1 −0
diff --git a/internal/console/linkedpolicy.go b/internal/console/linkedpolicy.go| index 4cd6a71d3..00bce2bd9 100644 |
| --- a/internal/console/linkedpolicy.go |
| +++ b/internal/console/linkedpolicy.go |
| @@ -184,6 +184,7 @@ var linkedPolicies = map[string]linkedPolicy{ |
| "PUT /api/cli/apps/{account}/{app}/telemetry": linkedRefuse, |
| "GET /api/cli/apps/{account}/{app}/telemetry": linkedRefuse, |
| "POST /api/cli/apps/{account}/{app}/instances": linkedRefuse, |
| + "POST /api/cli/apps/{account}/{app}/platform-host": linkedRefuse, // the create above, with its body built by the door |
| "GET /api/cli/apps/{account}/{app}/instances/{host}": linkedRefuse, |
| "PATCH /api/cli/apps/{account}/{app}/instances/{host}": linkedRefuse, |
| "POST /api/cli/apps/{account}/{app}/assets/purge": linkedRefuse, |