Merge lp:~frankban/juju-deployer/guiserver-auth into lp:juju-deployer
Proposed by
Francesco Banconi
on 2014-12-17
| Status: | Merged |
|---|---|
| Merged at revision: | 134 |
| Proposed branch: | lp:~frankban/juju-deployer/guiserver-auth |
| Merge into: | lp:juju-deployer |
| Diff against target: |
164 lines (+25/-24) 4 files modified
deployer/env/gui.py (+4/-11) deployer/guiserver.py (+4/-4) deployer/tests/test_guienv.py (+4/-2) deployer/tests/test_guiserver.py (+13/-7) |
| To merge this branch: | bzr merge lp:~frankban/juju-deployer/guiserver-auth |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tim Van Steenburgh | 2014-12-17 | Needs Fixing on 2015-02-06 | |
| Brad Crittenden (community) | code | Approve on 2014-12-17 | |
| j.c.sackett (community) | code | Approve on 2014-12-17 | |
|
Review via email:
|
|||
Commit Message
GUI environment: use both username and password.
Description of the Change
Use both credentials to authenticate to the Juju environment: do not assume the user name to always be user-admin.
To post a comment you must log in.
| Tim Van Steenburgh (tvansteenburgh) wrote : | # |
I'm +1 on this idea but have a suggestion for the implementation. The proposed solution unnecessarily breaks backward compatibility by changing the order of args, and by making username a required arg. This could be avoided by maintaining the existing order of args, and adding username as a kwarg with default value 'user-admin'.
review:
Needs Fixing

LGTM, Francesco. Thanks!