0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-01 13:14:33 +01:00
gitea/routers/web/user/setting
Lunny Xiao 3ef6252e06
Allow options to disable user deletion from the interface on app.ini (#29275)
Extract from #20549

This PR added a new option on app.ini `[admin]USER_DISABLED_FEATURES` to
allow the site administrator to disable users visiting deletion user
interface or allow.
This options are also potentially allowed to define more features in
future PRs.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-02-23 07:24:04 +00:00
..
security Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
account.go Allow options to disable user deletion from the interface on app.ini (#29275) 2024-02-23 07:24:04 +00:00
account_test.go
adopt.go
applications.go Fix inconsistent naming of OAuth 2.0 ENABLE setting (#28951) 2024-01-28 12:36:44 +00:00
keys.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
main_test.go
oauth2.go
oauth2_common.go
packages.go
profile.go Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
runner.go
webhooks.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00