Repository navigation
Conversation
This was referenced Oct 22, 2025
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
ThomasK33
force-pushed
the
thomask33/10-22-enhance_composite_scope_defaults
branch
from
October 22, 2025 14:18
98d793b to
15ca185
Compare
ThomasK33
marked this pull request as ready for review
October 22, 2025 14:35
ThomasK33
force-pushed
the
thomask33/09-26-add_token_scope_support_in_cli
branch
from
October 23, 2025 13:08
d2ce8e3 to
d7a97c4
Compare
ThomasK33
force-pushed
the
thomask33/10-22-enhance_composite_scope_defaults
branch
2 times, most recently
from
October 23, 2025 13:29
0c46ac0 to
cd93ff5
Compare
ThomasK33
force-pushed
the
thomask33/09-26-add_token_scope_support_in_cli
branch
from
October 23, 2025 13:29
d7a97c4 to
26ce0ed
Compare
ThomasK33
force-pushed
the
thomask33/09-26-add_token_scope_support_in_cli
branch
from
October 23, 2025 16:57
26ce0ed to
b5682aa
Compare
ThomasK33
force-pushed
the
thomask33/10-22-enhance_composite_scope_defaults
branch
2 times, most recently
from
October 23, 2025 17:05
da7b92e to
76abe40
Compare
ThomasK33
force-pushed
the
thomask33/09-26-add_token_scope_support_in_cli
branch
3 times, most recently
from
October 24, 2025 11:34
ddaca3e to
9ab5bfc
Compare
ThomasK33
force-pushed
the
thomask33/10-22-enhance_composite_scope_defaults
branch
from
October 24, 2025 11:34
76abe40 to
11ce594
Compare
ThomasK33
force-pushed
the
thomask33/09-26-add_token_scope_support_in_cli
branch
from
October 24, 2025 14:20
9ab5bfc to
eb8817a
Compare
ThomasK33
force-pushed
the
thomask33/10-22-enhance_composite_scope_defaults
branch
from
October 24, 2025 14:20
11ce594 to
a6683ad
Compare
ThomasK33
force-pushed
the
thomask33/09-26-add_token_scope_support_in_cli
branch
from
October 24, 2025 14:25
eb8817a to
16cf91a
Compare
ThomasK33
force-pushed
the
thomask33/10-22-enhance_composite_scope_defaults
branch
from
October 24, 2025 14:53
a6683ad to
c928597
Compare
ThomasK33
force-pushed
the
thomask33/09-26-add_token_scope_support_in_cli
branch
from
October 24, 2025 14:53
16cf91a to
33ee2a4
Compare
ThomasK33
force-pushed
the
thomask33/10-22-enhance_composite_scope_defaults
branch
from
October 24, 2025 16:45
c928597 to
ef4433c
Compare
ThomasK33
force-pushed
the
thomask33/09-26-add_token_scope_support_in_cli
branch
from
October 24, 2025 16:45
33ee2a4 to
6bdcaf5
Compare
ThomasK33
force-pushed
the
thomask33/10-22-enhance_composite_scope_defaults
branch
from
October 27, 2025 15:18
ef4433c to
f6de31a
Compare
ThomasK33
force-pushed
the
thomask33/09-26-add_token_scope_support_in_cli
branch
from
October 27, 2025 15:18
6bdcaf5 to
e41d7f4
Compare
ThomasK33
changed the base branch from
thomask33/09-26-add_token_scope_support_in_cli
to
graphite-base/20412
October 27, 2025 16:07
ThomasK33
force-pushed
the
thomask33/10-22-enhance_composite_scope_defaults
branch
2 times, most recently
from
October 28, 2025 08:08
46da335 to
4156c95
Compare
Ensure composite scopes retain required defaults when merging API keys. Add MergeDefaultsForMissingTypes to union composite defaults safely. Cover API key scope expansion and allow list merging with unit tests. Expose SafeAllowList in Subject logging and register user:read scope.
ThomasK33
force-pushed
the
thomask33/10-22-enhance_composite_scope_defaults
branch
from
October 28, 2025 13:48
4156c95 to
6bdc93e
Compare
ThomasK33
marked this pull request as draft
October 28, 2025 15:40
github-actions
Bot
deleted the
thomask33/10-22-enhance_composite_scope_defaults
branch
April 29, 2026 00:24
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.

Add automatic template access to workspace API tokens
This PR enhances API tokens with composite scopes like
coder:workspaces.createto automatically include required resource types in their allow lists. For example, when a user creates a token withcoder:workspaces.createscope and only specifies a workspace ID in the allow list, the system now automatically adds template access, which is required for workspace creation.The implementation:
DefaultAllowIDListto composite scopes to define required resource typescollectCompositeDefaults()to gather defaults from all scopes in a tokenMergeDefaultsForMissingTypes()to apply defaults only for resource types not already in the allow listThis change makes API tokens more intuitive to use, as users no longer need to manually specify all required resource types for composite operations.