Skip to content

Commit 5f95078

Browse files
committed
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
1 parent 9da02d1 commit 5f95078

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

openstackclient/identity/v3/user.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,8 @@ def take_action(self, parsed_args):
369369
class SetPasswordUser(command.Command):
370370
"""Change current user password"""
371371

372+
required_scope = False
373+
372374
def get_parser(self, prog_name):
373375
parser = super(SetPasswordUser, self).get_parser(prog_name)
374376
parser.add_argument(
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- Keystone V3 `user password set` is a self-service operation. It should
4+
not required a scoped token as it is not considered a `scoped operation`.
5+
[Bug `1543222 <https://bugs.launchpad.net/bugs/1543222>`_]
6+

0 commit comments

Comments
 (0)