Browse Source

Do not require an scope when setting a password

Changing the password in Keystone V3 is an unscoped operation, but we
were requiring a scope.

Change-Id: If0653ac7b59320c2cd9d42a2c73dd29c3626d389
Closes-Bug: 1543222
changes/85/321985/1
Alvaro Lopez Garcia 5 years ago
parent
commit
5f950788ff
  1. 2
      openstackclient/identity/v3/user.py
  2. 6
      openstackclient/releasenotes/notes/bug-1543222-6f8579344ff5c958.yaml

2
openstackclient/identity/v3/user.py

@ -369,6 +369,8 @@ class SetUser(command.Command):
class SetPasswordUser(command.Command):
"""Change current user password"""
required_scope = False
def get_parser(self, prog_name):
parser = super(SetPasswordUser, self).get_parser(prog_name)
parser.add_argument(

6
openstackclient/releasenotes/notes/bug-1543222-6f8579344ff5c958.yaml

@ -0,0 +1,6 @@
---
fixes:
- Keystone V3 `user password set` is a self-service operation. It should
not required a scoped token as it is not considered a `scoped operation`.
[Bug `1543222 <https://bugs.launchpad.net/bugs/1543222>`_]
Loading…
Cancel
Save