From 5f950788ffe528f509fe88c70179ec5e732bff82 Mon Sep 17 00:00:00 2001 From: Alvaro Lopez Garcia Date: Fri, 27 May 2016 09:04:54 +0200 Subject: [PATCH] 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 --- openstackclient/identity/v3/user.py | 2 ++ .../releasenotes/notes/bug-1543222-6f8579344ff5c958.yaml | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 openstackclient/releasenotes/notes/bug-1543222-6f8579344ff5c958.yaml diff --git a/openstackclient/identity/v3/user.py b/openstackclient/identity/v3/user.py index 9a7ced927..8bc4183b4 100644 --- a/openstackclient/identity/v3/user.py +++ b/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( diff --git a/openstackclient/releasenotes/notes/bug-1543222-6f8579344ff5c958.yaml b/openstackclient/releasenotes/notes/bug-1543222-6f8579344ff5c958.yaml new file mode 100644 index 000000000..c783d0130 --- /dev/null +++ b/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 `_] +