OP-589 change user password
Tatjana Dehler
Branch: sonea/openattic:OP-589-change-user-password
Branch: openattic/openattic:master
Merged
Merged pull request
Merged in sonea/openattic/OP-589-change-user-password (pull request #19)
Merged in sonea/openattic/OP-589-change-user-password (pull request #19)
Import status from rest_framework instead of every status separately
Add update view to change the password by updating a user
Allow changing the user data only for the user himself or an administrator
Move functionality to do a request into a separate method to reduce code duplication and ease the handling of the authentication methods (with auth token or username and password)
Add username and password parameter to send_request method
Refactor send_request method:
Convert 'data', 'obj_id' and 'search_param' to real parameters instead of reading them from the kwargs
Use .format method to concatenate strings
Convert double quotes to single quotes
Add Gatling tests
Refactor some older Gatling tests to expect an error response dictionary and not just a string
Signed-off-by: Tatjana Dehler tdehler@suse.com
CHANGELOG: * Backend: Added the functionality to reset the password of an user (OP-589)