Commit 3266f46
committed
Fix user password set command
When identity 'user' commands were migrated to SDK in previous
commit[1] the command for user self-service password reset was
changed from using keystoneclient update_password function to the
openstacksdk update_user function. The SDK update_user function is
intended for administrators to update user attributes and is
restricted by policy.
This patch uses the update_password function in openstacksdk.
[1] https://review.opendev.org/c/openstack/python-openstackclient/+/909030
Assisted-By: Cursor Auto
Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/980429
Partial-Bug: #2144315
Change-Id: I0be5d219ba854ea64c9ee9640128d0426d067bf6
Signed-off-by: Dylan McCulloch <Dylan.McCulloch@gmail.com>1 parent 28b470b commit 3266f46
4 files changed
Lines changed: 12 additions & 5 deletions
File tree
- openstackclient
- identity/v3
- tests/unit/identity/v3
- releasenotes/notes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
759 | 759 | | |
760 | 760 | | |
761 | 761 | | |
762 | | - | |
| 762 | + | |
763 | 763 | | |
764 | 764 | | |
765 | 765 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1716 | 1716 | | |
1717 | 1717 | | |
1718 | 1718 | | |
1719 | | - | |
| 1719 | + | |
1720 | 1720 | | |
1721 | 1721 | | |
1722 | 1722 | | |
| |||
1733 | 1733 | | |
1734 | 1734 | | |
1735 | 1735 | | |
1736 | | - | |
| 1736 | + | |
1737 | 1737 | | |
1738 | 1738 | | |
1739 | 1739 | | |
| |||
1758 | 1758 | | |
1759 | 1759 | | |
1760 | 1760 | | |
1761 | | - | |
| 1761 | + | |
1762 | 1762 | | |
1763 | 1763 | | |
1764 | 1764 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments