CMIPT / gcs-back-end

The back-end for git center server.
MIT License
2 stars 0 forks source link

Finish delete and update repo, and delete user #53

Closed Kaiser-Yang closed 2 months ago

Kaiser-Yang commented 2 months ago

We finish the APIs for deleting and updating repository. For the deleting user API, we now will remove all the ssh-keys uploaded by the user, but not the repositories.

Besides, we find that we should not trust the data from the client side, such as the userId from request body, we must get this data from the database to check if the operation is allowed.

See #20 and #32.