feat(core): add scoped authorization for catalog resources - #2710
Draft
codyhartsook wants to merge 1 commit into
Draft
feat(core): add scoped authorization for catalog resources#2710codyhartsook wants to merge 1 commit into
codyhartsook wants to merge 1 commit into
Conversation
Add policy-neutral collection scopes and enforce them for AgentTemplate, Harness, and ModelConfig using trusted Kubernetes metadata. Filter lists before response construction, authorize mutations before writes, and return server-computed action capabilities while keeping the default OSS installation open. Include the protobuf contracts, generated clients, focused unit and end-to-end coverage, design, and implementation guidance. UI capability behavior follows in a separate PR. Signed-off-by: Cody Hartsook <cody.hartsook@solo.io>
codyhartsook
force-pushed
the
codyhartsook/scoped-authorization-backend
branch
from
September 4, 2026 22:50
9a1c7a3 to
55521c0
Compare
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.
Summary
AgentTemplate,Harness, andModelConfigusing trusted Kubernetes metadata.Backend half of #2683. A follow-up PR makes the OSS UI consume the capability fields.
Testing
make proto-checkgo test ./...(ingo/)make -C go lintcd ui && yarn typecheck && yarn test— the regenerated protobuf TS ships here, so this proves it does not break a UI that does not yet read the new fields.Go E2E not run: requires a Kind cluster.