Repository navigation
API: while apps are open, any member adds an app and a shared account works through any Bot - #2174
Merged
Merged
Conversation
…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
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 25, 2026 03:53
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.createApp,listAppDirectory). No access request.token), and adding an app that needs something only an admin can enter.AppAddForbiddensays when the 403 still happens.approveBotApp). Connecting a shared account stays an admin's.shared_not_approvedandneedsApprovalhappen only where apps are locked down.getBotSharedUsereads as covered while open.createSharedUseRequestandcreateAppAccessRequestare described as the locked-down path.AppsSetting.lockedDownlists 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:lintand typecheck pass.