Files
teleport/lib/componentfeatures
Maxim 867b48cb61 [Access Requests] Support SSH node resource constraints (#64403)
* feat: support SSH node resource constraints in access requests

- Allow KindNode with constraints in ValidateAccessRequest, add SSH
  constraint matching via buildStringConstraintTransform
- Surface per-login granted/requestable metadata in MakeServer and
  advertise ResourceConstraintsV1 for all SSH servers

* test: add tests for SSH node resource constraints

- Unit tests for WithConstraints, MatcherFromConstraints, and
  ValidateAccessRequest with SSH constraint kinds
- MakeServer tests for granted-vs-requestable login details

* fix: Filter sshLogins via client.CalculateSSHLogins when IncludeRequestable!=true

* refactor: apply suggestions from code review

* refactor: extract granted/requestable principal calcs to web util file

* refactor: use `[]ComponentFeatureID` vs `[]int` for `Server.SupportedFeatureIDs`

* fix: Role pruning at request creation for constrained resources

* refactor: Add Config struct for MakeServer

- Use Config struct vs passing in individual params
- Address misc other code review feedback
2026-04-01 21:31:16 +00:00
..