fix(workflows): Advertise missing scope for all-project updates - #123917
Open
gricha wants to merge 5 commits into
Open
fix(workflows): Advertise missing scope for all-project updates#123917gricha wants to merge 5 commits into
gricha wants to merge 5 commits into
Conversation
gricha
force-pushed
the
fix/workflow-insufficient-scope
branch
3 times, most recently
from
September 9, 2026 16:41
b14afbb to
377549b
Compare
gricha
force-pushed
the
fix/workflow-insufficient-scope
branch
from
September 9, 2026 17:19
377549b to
16320db
Compare
Simulate the member/token scope intersection before returning an insufficient-scope challenge, so reminting with the advertised scope is guaranteed to satisfy the same check.
gricha
force-pushed
the
fix/workflow-insufficient-scope
branch
from
September 9, 2026 22:55
006f5cf to
c194a8d
Compare
gricha
marked this pull request as ready for review
September 9, 2026 23:01
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 63a0070. Configure here.
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.

Agent-authenticated all-project workflow mutations that lack
org:writenow return an RFC 6750insufficient_scopechallenge only when that scope is grantable to the delegating member. This lets Seer request approval and retry without advertising a scope that would still fail the same role check.The explicit scope enforcement runs only when a mutation actually targets a workflow connected to the all-project detector. Ordinary bulk mutations continue to work with
alerts:writeeven when the organization also has an all-project workflow. Feature-flag, GET, session-auth, and ordinary permission-denial behavior remain unchanged.