File tree Expand file tree Collapse file tree 4 files changed +20
-9
lines changed
doc/source/getting-started Expand file tree Collapse file tree 4 files changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ identity:list_users GET /v3/users
4343identity:create_user POST /v3/users
4444identity:update_user PATCH /v3/users/{user_id}
4545identity:delete_user DELETE /v3/users/{user_id}
46- identity:change_password POST /v3/users/{user_id}/password
4746
4847identity:get_group GET /v3/groups/{group_id}
4948identity:list_groups GET /v3/groups
Original file line number Diff line number Diff line change 128128 "identity:update_policy" : " rule:cloud_admin" ,
129129 "identity:delete_policy" : " rule:cloud_admin" ,
130130
131- "identity:change_password" : " rule:owner" ,
132131 "identity:check_token" : " rule:admin_or_owner" ,
133132 "identity:validate_token" : " rule:service_admin_or_owner" ,
134133 "identity:validate_token_head" : " rule:service_or_admin" ,
Original file line number Diff line number Diff line change 6262 check_str = base .RULE_ADMIN_REQUIRED ,
6363 description = 'Delete a user.' ,
6464 operations = [{'path' : '/v3/users/{user_id}' ,
65- 'method' : 'DELETE' }]),
66- policy .DocumentedRuleDefault (
67- name = base .IDENTITY % 'change_password' ,
68- check_str = base .RULE_ADMIN_OR_OWNER ,
69- description = 'Self-service password change.' ,
70- operations = [{'path' : '/v3/users/{user_id}/password' ,
71- 'method' : 'POST' }])
65+ 'method' : 'DELETE' }])
7266]
7367
7468
Original file line number Diff line number Diff line change 1+ ---
2+ upgrade :
3+ - |
4+ [`bug 1705485 <https://bugs.launchpad.net/keystone/+bug/1705485>`_]
5+ The `change_password` protection policy can be removed from file-based
6+ policies. This policy is no longer used to protect the self-service
7+ password change API since the logic was moved into code. Note that the
8+ administrative password reset functionality is still protected via policy
9+ on the `update_user` API.
10+ fixes :
11+ - |
12+ [`bug 1705485 <https://bugs.launchpad.net/keystone/+bug/1705485>`_]
13+ A `previous change <https://review.openstack.org/#/c/404022/>`_ removed
14+ policy from the self-service password API. Since a user is required to
15+ authenticate to change their password, protection via policy didn't
16+ necessarily make sense. This change removes the default policy from code,
17+ since it is no longer required or used by the service. Note that
18+ administrative password resets for users are still protected via policy
19+ through a separate endpoint.
You can’t perform that action at this time.
0 commit comments