summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorAlvaro Lopez Garcia <aloga@ifca.unican.es>2016-05-27 09:04:54 +0200
committerAlvaro Lopez Garcia <aloga@ifca.unican.es>2016-05-27 09:12:24 +0200
commit5f950788ffe528f509fe88c70179ec5e732bff82 (patch)
treed8dda1483031a824e8d74ddc201282270b39cd60 /openstackclient
parent9da02d14eadc39da6f97b3df095af8b0c452a5b4 (diff)
downloadpython-openstackclient-5f950788ffe528f509fe88c70179ec5e732bff82.tar.gz
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
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/identity/v3/user.py2
-rw-r--r--openstackclient/releasenotes/notes/bug-1543222-6f8579344ff5c958.yaml6
2 files changed, 8 insertions, 0 deletions
diff --git a/openstackclient/identity/v3/user.py b/openstackclient/identity/v3/user.py
index 9a7ced92..8bc4183b 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 00000000..c783d013
--- /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 <https://bugs.launchpad.net/bugs/1543222>`_]
+