Files
teleport/lib/services
Edward DowlingandPawel Kopiczko 46b23ce10d Respect role max duration when request does not set it (#51467)
* Respect role max duration when request does not set it

* Update lib/services/access_request_test.go

Co-authored-by: Pawel Kopiczko <pawel.kopiczko@goteleport.com>

* Update lib/services/access_request.go

Co-authored-by: Pawel Kopiczko <pawel.kopiczko@goteleport.com>

* Add test for max_duration when a requesting user has multiple roles

* Refactor max duration calculation to be clearer

* Fix typo

---------

Co-authored-by: Pawel Kopiczko <pawel.kopiczko@goteleport.com>
2025-01-31 17:27:48 +00:00
..
2024-02-29 18:40:33 +00:00
2025-01-16 18:17:35 +00:00