Commit Graph

3 Commits (7dd93b2441fc4eac89ccf6b919bf46823334c8bf)

Author SHA1 Message Date
B-OnTheGo e47df0b301 Enforce token on api routes [fixed critical security issue ] ()
zeripath d293a2b9d6 Add sudo functionality to the API ()
Vlad Temian 469ab99e9a Delete a user's public key via admin api (closes ) ()
* Delete a user's public key via admin api

* Test admin ssh endpoint for creating a new ssh key

* Adapt public ssh key test to also test the delete operation

* Test that deleting a missing key will result in a 404

* Test that a normal user can't delete another user's ssh key

* Make DeletePublicKey return err

* Update swagger doc