Project

General

Profile

Feature #7097

Add django.contrib.auth password changing in REST API

Added by John Spray over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Backend (REST API)
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

Support PUT or PATCH operation to change user account's password. GUI code exists from 1.x, though the 1.0 backend didn't actually implement it.

Associated revisions

Revision cbf34809 (diff)
Added by John Spray over 7 years ago

calamari_rest: User account PATCH/PUT (password change)

Users can change their own password but not those of
other users. Refactored the user view code to
avoid a separate view for /user/me, so that all
ops can refer to a PK or 'me'.

Fixes: #7097

History

#1 Updated by John Spray over 7 years ago

While rewriting the view to support this, also make sure the UserSerializer is including display name and email address.

#2 Updated by John Spray over 7 years ago

  • Target version changed from v1.2 Backlog to v1.2-dev3

#3 Updated by John Spray over 7 years ago

  • Status changed from New to Fix Under Review

#4 Updated by John Spray over 7 years ago

  • Status changed from Fix Under Review to Resolved

Merged.

Also available in: Atom PDF