Skip to content

[v15] Display more user friendly error for invalid os logins in Web UI#47579

Merged
rosstimothy merged 1 commit intobranch/v15from
bot/backport-47420-branch/v15
Oct 17, 2024
Merged

[v15] Display more user friendly error for invalid os logins in Web UI#47579
rosstimothy merged 1 commit intobranch/v15from
bot/backport-47420-branch/v15

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #47420 to branch/v15

changelog: Include host name instead of host uuid in error messages when SSH connections are prevented due to an invalid login

Host resolution no longer happens prior to connections in the Web
UI and all dial attempts are by UUID. When an invalid login is
attempted the error message constructed only contained the info
provided to the dial request: a login and a Host UUID. To make
this error more user friendly access denied errors are now
augmented with the hostname if the user has permissions to that
host and the error occurs only due to an invalid login.

Closes #23719
@rosstimothy rosstimothy force-pushed the bot/backport-47420-branch/v15 branch from 7b71853 to 959afe0 Compare October 15, 2024 15:48
@rosstimothy rosstimothy marked this pull request as ready for review October 15, 2024 16:50
@github-actions github-actions Bot requested review from Tener and fspmarshall October 15, 2024 16:51
@rosstimothy rosstimothy enabled auto-merge October 15, 2024 16:56
@rosstimothy
Copy link
Copy Markdown
Contributor Author

friendly ping @Tener

@rosstimothy rosstimothy added this pull request to the merge queue Oct 17, 2024
Merged via the queue into branch/v15 with commit b7a1450 Oct 17, 2024
@rosstimothy rosstimothy deleted the bot/backport-47420-branch/v15 branch October 17, 2024 19:51
@doggydogworld doggydogworld mentioned this pull request Oct 22, 2024
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