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
apiserver/admin: Restrict user logins #702
Conversation
LGTM |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
Build failed: Tests failed |
Any user login will fail unless that user exists in the environment.
45e47b2
to
37ee798
Compare
func (s *loginSuite) TestNonEnvironUserLoginFails(c *gc.C) { | ||
info, cleanup := s.setupServer(c) | ||
defer cleanup() | ||
user := s.Factory.MakeUser(c, &factory.UserParams{Password: "dummy-password"}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is going to fail now right? You'll need to update the user params to say "don't make an env user".
37ee798
to
23e2234
Compare
PTAL |
LGTM |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
apiserver/admin: Restrict user logins Any user login will fail unless that user exists in the environment.
Any user login will fail unless that user exists in the environment.