Skip to content

API: while apps are open, any member adds an app and a shared account works through any Bot - #2174

Merged
davidmckayv merged 1 commit into
mainfrom
feat/open-everything
Nov 25, 2026
Merged

davidmckayv merged 1 commit into
mainfrom
feat/open-everything

Conversation

@davidmckayv

Copy link
Copy Markdown
Contributor

What

While the organization's apps are open (the default, getAppsSetting), two gates that were still an admin's go away. Locked down keeps both. This PR changes the descriptions only: no request, response or status code changes shape.

  • Any member adds an app the organization hasn't added yet, from the catalogue, the directory or by its address, in the same press that connects it (createApp, listAppDirectory). No access request.
    • Still an admin's under both: giving a server a key that every Bot would use (token), and adding an app that needs something only an admin can enter.
    • AppAddForbidden says when the 403 still happens.
  • Anyone who may give a Bot its apps can also turn an app on for it in one step (approveBotApp). Connecting a shared account stays an admin's.
  • A shared team account is usable through any Bot by anybody who can use that Bot, with no approval.
    • shared_not_approved and needsApproval happen only where apps are locked down.
    • getBotSharedUse reads as covered while open.
    • createSharedUseRequest and createAppAccessRequest are described as the locked-down path.
  • AppsSetting.lockedDown lists both under Open. It also says that under both settings each person's own account stays theirs, and that an admin connects a shared account.

Compatibility

Descriptions only. The generated clients change only in their doc comments.

Checks

bun run api:generate, api:lint and typecheck pass.

…use a Bot uses its shared accounts

createApp and listAppDirectory say any member adds an app in the press that connects it while the organization's apps are open; an administrator still gives a server a key everyone's Bots use and adds apps that need what only an administrator enters. approveBotApp is open to anybody who may give that Bot its apps. Access requests and shared-use approvals are described as the locked-down path, and shared_not_approved and needsApproval happen only there.
@davidmckayv
davidmckayv merged commit 426d331 into main Nov 25, 2026
23 checks passed
@davidmckayv
davidmckayv deleted the feat/open-everything branch November 25, 2026 04:02
davidmckayv added a commit that referenced this pull request Nov 25, 2026
…-rc.5

While apps are open, a member adds and connects an app in one press, a Bot's
owner connects and gives it to their Bot, a shared account needs no approval,
and no sentence sends anybody to an admin for what they can now do (#2174's
API and #2175's screens). Kept apart so it can be dropped if #2175, or the
server behaviour it relies on, misses the cut.
davidmckayv added a commit that referenced this pull request Nov 25, 2026
* Changelog and upgrade policy for 1.2.0-rc.5

Rebuild Unreleased from the code for everything new since 1.2.0-rc.4: each
public change since 0e04d18 (less the rc.4 picks) and every server change
since rc.4's server, checked against its diff. Adds what had no entry (apps
open by default, OpenBot settings in a conversation, several AI connections,
drafts, Copy under replies, table links, free runs on OpenBot Cloud, moves
between organizations, calm outages, passkeys, Notion's own server, saved
logins, sharding) and rewrites the entries these changes made wrong.

Before upgrading lists the seventeen new migrations, 0165_team_models to
0181_organization_ai_sign_in_credentials, all expands.

release-policy.json: fromVersions adds v1.2.0-rc.4, database.from adds its
last migration 0164_schedules_held_by_move, and database.to moves to
0181_organization_ai_sign_in_credentials.

* Changelog: the screens follow the Open apps switch (#2175), for 1.2.0-rc.5

While apps are open, a member adds and connects an app in one press, a Bot's
owner connects and gives it to their Bot, a shared account needs no approval,
and no sentence sends anybody to an admin for what they can now do (#2174's
API and #2175's screens). Kept apart so it can be dropped if #2175, or the
server behaviour it relies on, misses the cut.
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