githaven-fork/routers/api/v1/user
zeripath ad1164f73b
Disable SSH key deletion of externally managed Keys (#13985)
* Disable SSH key addition and deletion when externally managed

When a user has a login source which has SSH key management
key addition and deletion using the UI should be disabled.

Fix #13983

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Make only externally managed keys disabled

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-12-25 23:24:47 -05:00
..
app.go Fix api doc response code (#14123) 2020-12-24 18:14:01 +00:00
email.go Add email validity check (#13475) 2020-11-14 11:53:43 -05:00
follower.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
gpg_key.go Allow addition of gpg keyring with multiple keys (#12487) 2020-08-21 13:45:50 +03:00
key.go Disable SSH key deletion of externally managed Keys (#13985) 2020-12-25 23:24:47 -05:00
repo.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
star.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
user.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
watch.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00