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
This commit is contained in:
Alvaro Lopez Garcia 2016-05-27 09:04:54 +02:00
parent 9da02d14ea
commit 5f950788ff
2 changed files with 8 additions and 0 deletions

View File

@ -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(

View File

@ -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>`_]