Skip to content

[v14] Display more user friendly error for invalid os logins in Web UI #47603

Merged
rosstimothy merged 1 commit intobranch/v14from
tross/backport-47420/v14
Oct 17, 2024
Merged

[v14] Display more user friendly error for invalid os logins in Web UI #47603
rosstimothy merged 1 commit intobranch/v14from
tross/backport-47420/v14

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #47420 to branch/v14

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 tross/backport-47420/v14 branch from 3913c9d to 50c669c Compare October 15, 2024 21:44
@rosstimothy rosstimothy marked this pull request as ready for review October 15, 2024 21:49
@github-actions github-actions Bot requested review from Tener and fspmarshall October 15, 2024 21:50
@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/v14 with commit c786a24 Oct 17, 2024
@rosstimothy rosstimothy deleted the tross/backport-47420/v14 branch October 17, 2024 19:51
@camscale camscale mentioned this pull request Oct 30, 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