Add changing current user password

Bug #1337245 reported by mouadino
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
mouadino

Bug Description

Problems:
========

Right now there is no way for a user to change his own password, only a full user update is given, which will work only with admin right ! keystone v3 allow the change of current user password https://github.com/openstack/identity-api/blob/master/v3/src/markdown/identity-api-v3.md#change-user-password-post-usersuser_idpassword which is affected by the policy rule 'identity:change_password' which default to "rule:owner".

mouadino (mouadino)
summary: - Changing own password is totally mishandled
+ Changing user password is totally mishandled
mouadino (mouadino)
Changed in keystone:
assignee: nobody → mouadino (mouadino)
Changed in python-keystoneclient:
assignee: nobody → mouadino (mouadino)
Changed in python-openstackclient:
assignee: nobody → mouadino (mouadino)
mouadino (mouadino)
description: updated
Revision history for this message
mouadino (mouadino) wrote : Re: Changing user password is totally mishandled

Is keystone v2 API still under development or a patch there is worthless !?

Revision history for this message
Dolph Mathews (dolph) wrote :

Can you break the additional problems out into separate bug reports so that we can address and track them independently? I'm marking these tasks as incomplete until then.

Regarding v2, we're happy to fix bugs, but the API has been frozen for a long time, and is nearing deprecation. It doesn't sound like you'd need API changes to fix the issues you're describing, but maybe I'm not thinking through them sufficiently.

Changed in keystone:
status: New → Incomplete
Changed in python-keystoneclient:
status: New → Incomplete
Changed in python-openstackclient:
status: New → Incomplete
Revision history for this message
mouadino (mouadino) wrote :

I will split the keystone bug in a separate one but for the clients it's the same bug, right ?

no longer affects: keystone
Revision history for this message
mouadino (mouadino) wrote :

Bug report in keystone was created under https://bugs.launchpad.net/keystone/+bug/1337768, this bug contain only the client and library problems.

description: updated
Revision history for this message
Dolph Mathews (dolph) wrote :

mouadino: Thanks, that's a step in the right direction. It's difficult to discuss/address/track bugs when there are multiple issues in a single bug report, though; please break this report into three, for each problem description.

Revision history for this message
mouadino (mouadino) wrote :

My confusion was corrected from https://bugs.launchpad.net/bugs/1337768 so i am changing the title and bug description of this bug to reflect the real problem.

Cheers,

summary: - Changing user password is totally mishandled
+ Add changing curent user password
no longer affects: python-keystoneclient
description: updated
mouadino (mouadino)
summary: - Add changing curent user password
+ Add changing current user password
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/106018

Changed in python-openstackclient:
status: Incomplete → In Progress
Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: none → m5
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/106018
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=0069adef5ccec501c36b8da1d2de2821a97afe07
Submitter: Jenkins
Branch: master

commit 0069adef5ccec501c36b8da1d2de2821a97afe07
Author: Mouad Benchchaoui <email address hidden>
Date: Thu Jul 10 13:23:35 2014 +0200

    Add action 'user password set' for identiy v3

    This new action will allow a user to change their own password by
    either providing the new password as an argument (--password) or by
    being prompted to enter the new password.
    In both cases user will be prompted to enter their current password
    as required by the v3 API.

    Closes-Bug: #1337245
    Change-Id: I5e1e0fd2b46a4502318da57f7cce2b236fb2d93d

Changed in python-openstackclient:
status: In Progress → Fix Committed
Dean Troyer (dtroyer)
Changed in python-openstackclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.