Skip to content

[Connect] Update types for ResourceConstraints support#63492

Merged
kiosion merged 2 commits intomasterfrom
maxim/connect-resource-constraints-types
Feb 6, 2026
Merged

[Connect] Update types for ResourceConstraints support#63492
kiosion merged 2 commits intomasterfrom
maxim/connect-resource-constraints-types

Conversation

@kiosion
Copy link
Copy Markdown
Contributor

@kiosion kiosion commented Feb 4, 2026

Context

Update protos/types to enable ResourceConstraint support in Access Requests.

Required for #63472.

@kiosion kiosion added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v18 labels Feb 4, 2026
@ravicious ravicious requested review from gzdunek and removed request for charlestp February 4, 2026 17:13
Copy link
Copy Markdown
Member

@ravicious ravicious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, though I wonder if it wouldn't be able to batch this with the actual code changes. This way if you find yourself needing to adjust the protos a little bit, you won't have to deal with the buf lint and the way it enforces no breaking changes.

Comment thread proto/teleport/lib/teleterm/v1/app.proto
package teleport.lib.teleterm.v1;

import "google/protobuf/timestamp.proto";
import "teleport/legacy/types/resources.proto";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generate_dependencies keeps paying dividends (#59817). 🙌 Without it, the path to this proto file would have to be added to buf-ts.gen.yaml.

@kiosion
Copy link
Copy Markdown
Contributor Author

kiosion commented Feb 4, 2026

I wonder if it wouldn't be able to batch this with the actual code changes

I considered that but figured it'd be easier to review in pieces, and I can't see requiring any changes to these types; they're just adding fields already implemented for the Web UI side of protos.

@kiosion kiosion added this pull request to the merge queue Feb 6, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Feb 6, 2026
@kiosion kiosion added this pull request to the merge queue Feb 6, 2026
Merged via the queue into master with commit 375ca9f Feb 6, 2026
45 checks passed
@kiosion kiosion deleted the maxim/connect-resource-constraints-types branch February 6, 2026 18:07
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@kiosion See the table below for backport results.

Branch Result
branch/v18 Create PR

kiosion added a commit that referenced this pull request Feb 10, 2026
* types: Update protos for Teleterm support of ResourceConstraints

* fixup: Resolve test/story type errors from proto field changes
kiosion added a commit that referenced this pull request Mar 24, 2026
* types: Update protos for Teleterm support of ResourceConstraints

* fixup: Resolve test/story type errors from proto field changes
github-merge-queue Bot pushed a commit that referenced this pull request Mar 24, 2026
* Access Requests: Add Resource-Scoped Constraints (#60123)

* feat: Extend `AWSRole` struct w/ `RequiresRequest`

- Differentiate between already-granted vs. requestable AWSRoles when
  including requestable resources in `clusterUnifiedResourcesGet`
  req

* feat: Implement Resource Constraints support for Proxy, Auth

* fixup: Fix tests

* test: Add tests for resourceaccessid-related helpers

* fixup: Address code review feedback

* test: Update identity/events tests for new `ResourceAccessID` fields

* fixup: Expand/improve godocs/comments for sentinel ResourceID handling

* fixup: Address code review feedback

* feat: Conv ResourceID->ResourceAccessID at cert decoding

- Convert ResourceIDs present on certs to ResourceAccessIDs at decoding
  time, rather than at each callsite. Update tests/usages of tlsca/sshca
  Identities to reflect this.

* Access Requests: Web UI handling for Resource-Scoped Constraints (#62152)

* feat: Implement Resource Constraints for Web

* fixup: Address code review feedback

* test: Add stories for Resource Constraint RequestCheckout changes

* fixup: Address code review feedback

* [Connect] Update types for ResourceConstraints support (#63492)

* types: Update protos for Teleterm support of ResourceConstraints

* fixup: Resolve test/story type errors from proto field changes

* [Access Requests] Show constrained resources in tsh/tctl (#63619)

* feat: Show constrained resources in tsh/tctl

- Part 1 of supporting Resource Constraints in tsh/tctl. Show
  constraints alongside relevant ResourceIDs when listing/showing an
  Access Request in tsh/tctl.

* fixup: Address code review feedback

* [Connect] Provide empty resourceAccessId arr for Access Req dryrun
(#63789)

* fix: Provide empty resourceAccessId arr for Access Req dryrun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/branch/v18 no-changelog Indicates that a PR does not require a changelog entry size/sm ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants