Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate account, url, key input #57

Closed
tjfontaine opened this issue Aug 29, 2014 · 0 comments
Closed

Validate account, url, key input #57

tjfontaine opened this issue Aug 29, 2014 · 0 comments

Comments

@tjfontaine
Copy link

With the advent of RBAC users are now accustomed to logging into the portal with Account/SubUser but some commands like listimages use SDC_ACCOUNT verbatim, and if the user inadvertently sets that to their portal credentials, the server is not able to respond with a message indicating a wrong user. Instead you get that the command isn't allowed.

Instead we should be validating the input for account, user, url, and key to make sure they contain appropriate information. In the case that inappropriate information is provided we should bail with guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants