Skip to content

Document connecting any app API without administrator approval - #370

Draft
tnkuehne wants to merge 1 commit into
mainfrom
open-connections-docs
Draft

tnkuehne wants to merge 1 commit into
mainfrom
open-connections-docs

Conversation

@tnkuehne

Copy link
Copy Markdown
Contributor

Documents that owners and collaborators connect their app to any API in the organization without administrator approval. Removes the availability and connection request sections, the matching CLI commands and API routes.

Implementation: #369

Blocked until a published release includes #369.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
widefleet-docs 4a21254 Nov 24 2026, 04:22 PM

@tnkuehne
tnkuehne force-pushed the open-connections-docs branch from f1552c9 to 902c806 Compare November 24, 2026 13:41
@tnkuehne
tnkuehne removed this pull request from stack #371 November 24, 2026 16:15
tnkuehne added a commit that referenced this pull request Nov 24, 2026
…on (#369)

Connections to app APIs no longer need administrator approval. Anyone
who manages the calling app, as owner or collaborator, connects it to
any API in the organization. Administrators no longer choose per API
whether approval is required.

## Removed

- **UI:** availability page, connection request pages, the **Requests**
view and the approval grouping in **App APIs**, the **Access** row on
API pages, and the request variant of the connection form
- **API:** `PUT /api/v1/app-services/{appId}/access` and
`/api/v1/connection-requests` (list, create, approve, reject);
`accessMode` leaves the app service schemas
- **CLI:** `widefleet services access|requests|approve|reject` and
`widefleet connect --request`
- **Database:** nothing yet. The code stops reading `connection_request`
and `app.service_access_mode`;
#372 drops them in a later
deployment, because Hosted migrates before the new control plane
replaces the old one.

Binding permission checks stay the same: the caller must be an app the
person manages, and the provider must be a deployed app in the same
organization with the selected entrypoint. Cycle, binding-name and
resource-collision checks are unchanged.

Documentation: #370

## Screenshots

Member view, before and after.

| | Before | After |
| --- | --- | --- |
| App APIs, 1280 light | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/before-catalog-1280-light.png"
width="400"> | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/after-catalog-1280-light.png"
width="400"> |
| App APIs, 390 dark | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/before-catalog-390-dark.png"
width="200"> | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/after-catalog-390-dark.png"
width="200"> |
| API page, 1280 light | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/before-reference-1280-light.png"
width="400"> | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/after-reference-1280-light.png"
width="400"> |
| API page, 390 dark | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/before-reference-390-dark.png"
width="200"> | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/after-reference-390-dark.png"
width="200"> |
| Connection form, 1280 light | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/before-connect-1280-light.png"
width="400"> | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/after-connect-1280-light.png"
width="400"> |
| Connection form, 390 dark | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/before-connect-390-dark.png"
width="200"> | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/after-connect-390-dark.png"
width="200"> |
| Connections empty state, hint text, light | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/before-connections-crop-light.png"
width="380"> | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/after-connections-crop-light.png"
width="380"> |
| Connections empty state, hint text, dark | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/before-connections-crop-dark.png"
width="380"> | <img
src="https://gist.githubusercontent.com/tnkuehne/c16c68433ab4eb31c889b20b2c853eb2/raw/6dea6858069bcd0ecdc4e87b67d4d5ea7338c422/after-connections-crop-dark.png"
width="380"> |

Not shown: administrator views. They only lose the same elements.

## Testing

- `pnpm exec vitest run` (full default suite)
- `RUN_CLI_TESTS=1 pnpm exec vitest run
apps/control-plane/tests/app-services-cli.test.ts`
- Playwright: `lets members connect any API in their organization`,
`shows versioned service documentation through authenticated API and
accessible pages`
- `cargo clippy -p platform-cli --all-targets -- -D warnings`, `cargo
test -p platform-cli`
- `pnpm typecheck`, `oxfmt --check`, `oxlint --type-aware`
Base automatically changed from open-connections to main November 24, 2026 16:20
@tnkuehne
tnkuehne force-pushed the open-connections-docs branch from 902c806 to 4a21254 Compare November 24, 2026 16:20

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant