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

Fixed model listing for admin user for 2.1. #6932

Merged
merged 2 commits into from Feb 7, 2017

Conversation

perrito666
Copy link

Admin user needs to see all models when listing,
list models is not the nicest method and does a direct
query to mongo which returns a partial set of models
owned by the calling user.

QA steps

  • Bootstrap juju
  • create a user and grant add-model to said user
  • login with the user and create a model
  • create a second user.
  • grant write to the second user on the model owned by the first user.
  • all should work.

Bug reference

https://bugs.launchpad.net/juju/+bug/1650643

Horacio Duran added 2 commits February 7, 2017 09:46
Admin user needs to see all models when listing,
list models is not the nicest method and does a direct
query to mongo which returns a partial set of models
owned by the calling user.
@perrito666
Copy link
Author

This is a straight backport so $$merge$$

@jujubot
Copy link
Collaborator

jujubot commented Feb 7, 2017

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

@jujubot jujubot merged commit 49316b2 into juju:2.1 Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants