Repository navigation
Expose message board permissions and structured denials - #52568
Merged
copyberry[bot] merged 1 commit intoOct 9, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## Why Remote boards can allow replies while denying new threads. Agents need to discover these effective permissions and receive actionable details when an operation is denied. ## What changed - Expose optional `board_permissions` and per-channel `permissions` in `get_channels`, preserving the legacy response shape when permission metadata is absent. - Preserve HTTP 403 `permission_denied` responses as structured tool errors with a message and optional `action` and `resource`. Mark denied calls as unsuccessful and truncate oversized error details to fit the output budget. - Pass through service-computed permissions without evaluating access rules locally. ## Testing Add remote-board scenarios for direct tools and code mode covering legacy responses, reply-only permissions, a denied post, and a successful reply, plus a snapshot of the direct tool exchange. GitOrigin-RevId: 76594bbc0a1283ff3c3c8682bd7615baa5ade428
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/76594bbc0a1283ff3c3c8682bd7615baa5ade428
branch
from
October 9, 2026 13:15
debdbf6 to
36ae156
Compare
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/76594bbc0a1283ff3c3c8682bd7615baa5ade428
branch
October 9, 2026 13:15
kaushalp2302
temporarily deployed
to
issue-triage
October 9, 2026 13:20 — with
GitHub Actions
Inactive
kaushalp2302
temporarily deployed
to
issue-triage
October 9, 2026 13:20 — with
GitHub Actions
Inactive
kaushalp2302
temporarily deployed
to
issue-triage
October 9, 2026 13:20 — with
GitHub Actions
Inactive
vshcherbukhin
temporarily deployed
to
issue-triage
October 9, 2026 13:24 — with
GitHub Actions
Inactive
vshcherbukhin
temporarily deployed
to
issue-triage
October 9, 2026 13:24 — with
GitHub Actions
Inactive
vshcherbukhin
temporarily deployed
to
issue-triage
October 9, 2026 13:24 — with
GitHub Actions
Inactive
lancelot717
temporarily deployed
to
issue-triage
October 9, 2026 13:28 — with
GitHub Actions
Inactive
lancelot717
temporarily deployed
to
issue-triage
October 9, 2026 13:28 — with
GitHub Actions
Inactive
lancelot717
temporarily deployed
to
issue-triage
October 9, 2026 13:28 — with
GitHub Actions
Inactive
BlackShadow
temporarily deployed
to
issue-triage
October 9, 2026 13:32 — with
GitHub Actions
Inactive
BlackShadow
temporarily deployed
to
issue-triage
October 9, 2026 13:32 — with
GitHub Actions
Inactive
BlackShadow
temporarily deployed
to
issue-triage
October 9, 2026 13:32 — with
GitHub Actions
Inactive
kaiyuanh94-design
temporarily deployed
to
issue-triage
October 9, 2026 13:45 — with
GitHub Actions
Inactive
kaiyuanh94-design
temporarily deployed
to
issue-triage
October 9, 2026 13:45 — with
GitHub Actions
Inactive
echosudt5-cmd
temporarily deployed
to
issue-triage
October 9, 2026 13:51 — with
GitHub Actions
Inactive
tycarolan-vp
temporarily deployed
to
issue-triage
October 9, 2026 13:54 — with
GitHub Actions
Inactive
tycarolan-vp
temporarily deployed
to
issue-triage
October 9, 2026 13:54 — with
GitHub Actions
Inactive
tycarolan-vp
temporarily deployed
to
issue-triage
October 9, 2026 13:54 — with
GitHub Actions
Inactive
saarthakrajadhikari-hub
temporarily deployed
to
issue-triage
October 9, 2026 14:00 — with
GitHub Actions
Inactive
saarthakrajadhikari-hub
temporarily deployed
to
issue-triage
October 9, 2026 14:00 — with
GitHub Actions
Inactive
saarthakrajadhikari-hub
temporarily deployed
to
issue-triage
October 9, 2026 14:00 — with
GitHub Actions
Inactive
saarthakrajadhikari-hub
temporarily deployed
to
issue-triage
October 9, 2026 14:02 — with
GitHub Actions
Inactive
motoradmir-ship-it
temporarily deployed
to
issue-triage
October 9, 2026 14:04 — with
GitHub Actions
Inactive
motoradmir-ship-it
temporarily deployed
to
issue-triage
October 9, 2026 14:04 — with
GitHub Actions
Inactive
motoradmir-ship-it
temporarily deployed
to
issue-triage
October 9, 2026 14:04 — with
GitHub Actions
Inactive
aus10parker
temporarily deployed
to
issue-triage
October 9, 2026 14:14 — with
GitHub Actions
Inactive
aus10parker
temporarily deployed
to
issue-triage
October 9, 2026 14:14 — with
GitHub Actions
Inactive
aus10parker
temporarily deployed
to
issue-triage
October 9, 2026 14:14 — with
GitHub Actions
Inactive
www080327-glitch
temporarily deployed
to
issue-triage
October 9, 2026 14:15 — with
GitHub Actions
Inactive
www080327-glitch
temporarily deployed
to
issue-triage
October 9, 2026 14:15 — with
GitHub Actions
Inactive
www080327-glitch
temporarily deployed
to
issue-triage
October 9, 2026 14:15 — with
GitHub Actions
Inactive
This branch was previously deployed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Expose message board permissions and structured denials
Why
Remote boards can allow replies while denying new threads. Agents need to discover these effective permissions and receive actionable details when an operation is denied.
What changed
board_permissionsand per-channelpermissionsinget_channels, preserving the legacy response shape when permission metadata is absent.permission_deniedresponses as structured tool errors with a message and optionalactionandresource. Mark denied calls as unsuccessful and truncate oversized error details to fit the output budget.Testing
Add remote-board scenarios for direct tools and code mode covering legacy responses, reply-only permissions, a denied post, and a successful reply, plus a snapshot of the direct tool exchange.