Skip to content

[v18] Show only allowed logins for SSH servers in Connect#59067

Merged
gzdunek merged 2 commits intobranch/v18from
gzdunek/backport-59026/v18
Sep 12, 2025
Merged

[v18] Show only allowed logins for SSH servers in Connect#59067
gzdunek merged 2 commits intobranch/v18from
gzdunek/backport-59026/v18

Conversation

@gzdunek
Copy link
Copy Markdown
Contributor

@gzdunek gzdunek commented Sep 12, 2025

Backport #59026 to branch/v18

changelog: When selecting a login for an SSH server, Teleport Connect now shows only logins allowed by RBAC for that specific server rather than showing all logins which the user has access to

* Move `calculateSSHLogins` to `lib/client`

* Calculate allowed logins in tshd

* Take logins from resource, not `loggedInUser`

* Remove `pipe`

* Remove `sshLogins`

* Lint

(cherry picked from commit f743d25)
@gzdunek gzdunek added this pull request to the merge queue Sep 12, 2025
Merged via the queue into branch/v18 with commit 9efcdb3 Sep 12, 2025
47 checks passed
@gzdunek gzdunek deleted the gzdunek/backport-59026/v18 branch September 12, 2025 16:34
@doggydogworld doggydogworld mentioned this pull request Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants