Skip to content

Conversation

JenySadadia
Copy link
Collaborator

@JenySadadia JenySadadia commented Jul 10, 2023

Added PUT /user/profile/{username} endpoint to update user profiles.

@JenySadadia JenySadadia changed the title Update user endpoint Update user profile Jul 11, 2023
@gctucker gctucker added the staging-skip Don't test automatically on staging.kernelci.org label Jul 11, 2023
@JenySadadia JenySadadia marked this pull request as ready for review July 11, 2023 12:00
@pawiecz pawiecz assigned pawiecz and unassigned pawiecz Jul 13, 2023
@JenySadadia JenySadadia removed the staging-skip Don't test automatically on staging.kernelci.org label Jul 14, 2023
@gctucker
Copy link
Collaborator

@JenySadadia Please rebase

Implement endpoint PUT `/user/profile/{username}` to
update user profile details. The user can update
password, and user groups using the PUT request.
User will not be allowed to add oneself to `admin`
user group.

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
Copy link
Collaborator

@gctucker gctucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit title seems to imply that the user profile model is being updated, rather than it's implementing an endpoint for updating user profile documents. But that's a detail, just maybe something to keep in mind in the future to always try and be accurate in git commits.

@gctucker gctucker added this pull request to the merge queue Jul 20, 2023
Merged via the queue into kernelci:main with commit b7ddacd Jul 20, 2023
@JenySadadia JenySadadia deleted the update-user branch July 21, 2023 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants