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

apiserver/admin: Restrict user logins #702

Merged
merged 2 commits into from Sep 9, 2014

Conversation

waigani
Copy link
Contributor

@waigani waigani commented Sep 8, 2014

Any user login will fail unless that user exists in the environment.

@themue
Copy link
Contributor

themue commented Sep 8, 2014

LGTM

@waigani
Copy link
Contributor Author

waigani commented Sep 8, 2014

$$merge$$

@jujubot
Copy link
Collaborator

jujubot commented Sep 8, 2014

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot
Copy link
Collaborator

jujubot commented Sep 8, 2014

Build failed: Tests failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/570

Any user login will fail unless that user exists in the environment.
@waigani waigani force-pushed the login-environ-user-only branch 2 times, most recently from 45e47b2 to 37ee798 Compare September 9, 2014 01:36
func (s *loginSuite) TestNonEnvironUserLoginFails(c *gc.C) {
info, cleanup := s.setupServer(c)
defer cleanup()
user := s.Factory.MakeUser(c, &factory.UserParams{Password: "dummy-password"})
Copy link
Contributor

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".

@waigani
Copy link
Contributor Author

waigani commented Sep 9, 2014

PTAL

@howbazaar
Copy link
Contributor

LGTM

@waigani
Copy link
Contributor Author

waigani commented Sep 9, 2014

$$merge$$

@jujubot
Copy link
Collaborator

jujubot commented Sep 9, 2014

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

jujubot added a commit that referenced this pull request Sep 9, 2014
apiserver/admin: Restrict user logins

Any user login will fail unless that user exists in the environment.
@jujubot jujubot merged commit de81ae4 into juju:master Sep 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants