DB access denied error improvement #13293
Labels
database-access
Database access related issues and PRs
error-msg
Improving customer facing error messages.
feature-request
Used for new features in Teleport, improvements to current should be #enhancements
ux
When a user configures teleport the first time the default roles don't provide any db_users, and db_labels that allow a user to connect to db instance. During the db access flow teleport returns the
access to db denied
error that is omitted, or misunderstood by a teleport user.TSH flow should return an actionable error for example instead of
failed: access to db denied
the error should indicate that a user is not assigned to any roles that provide validdb_users
. Additionally, thetsh cli
can check if a user has access to a particular database and return a detailed error. The work done is #10458 can be reused to determine if a user has access to a particular DB fromtsh db login/connect
flow.The text was updated successfully, but these errors were encountered: