Disallow self-reset and preserve old facade version. #7824

Merged
merged 2 commits into from Sep 5, 2017

Conversation

Projects
None yet
3 participants
Member

anastasiamac commented Sep 5, 2017

Description of change

Users are no longer allowed to reset their own password. If a user wants to have anew password, they can use normal "change password" workflow. Unit test are adjusted accordingly.

This PR also ensures that there exist a previous facade version for backward compatibility.

QA steps

  1. bootstrap
  2. run 'juju change-user-password --reset' or 'juju change-user-password --reset '
  3. Either command in 2 should be disallowed.

Documentation changes

n/a

Bug reference

n/a

Member

anastasiamac commented Sep 5, 2017

$$merge$$

Contributor

jujubot commented Sep 5, 2017

Status: merge request accepted. Url: http://ci.jujucharms.com/job/github-merge-juju

@jujubot jujubot merged commit b61a16c into juju:develop Sep 5, 2017

1 check passed

continuous-integration/jenkins/pr-merge This commit looks good
Details

@anastasiamac anastasiamac deleted the anastasiamac:self-reset-fix branch Sep 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment