1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00
gitea/routers/web/user
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
..
setting Allow options to disable user deletion from the interface on app.ini (#29275) 2024-02-23 07:24:04 +00:00
avatar.go Replace -1 with GhostUserID (#27703) 2023-10-20 14:43:08 +00:00
code.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
home_test.go Include public repos in doer's dashboard for issue search (#28304) 2023-12-07 13:26:18 +08:00
home.go Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notification.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
package.go Fix some RPM registry flaws (#28782) 2024-01-19 11:37:10 +00:00
profile.go Unify organizations header (#29248) 2024-02-23 01:24:57 +01:00
search.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
stop_watch.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
task.go Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00