Skip to content

Modifying a user's information #1

@RmnRss

Description

@RmnRss

Is your feature request related to a problem? Please describe
Currently, there is no possibility to edit any of the user's information, meaning if a user has lost his password or wants to change his email there is no way to remedy that.

The username field should remain unique and immutable.

Describe the solution you'd like
A possibility to edit a user's information through the API.

Describe alternatives you've considered

  • It could be done by adding the possibility to make a 'PUT' request on /users/username with the necessary credentials in headers, and the field to edit in the body. Currently, only the email field is editable.

    • For passwords, if the body contains a password field then check if it is valid and identical to the current one and then replace it or not.
  • Adding a 'POST' endpoint at /users/resetPassword that would send an expiring link to a given email for him/her to change its password.

  • Adding a 'POST' endpoint at /users/changePassword that would require credentials, the current password and the new one. Check their validity then replace it or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions