forgejo/routers/web/user/setting
Lunny Xiao 767e9634d3
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>
(cherry picked from commit 3ef6252e06a1f3981f8b7d1717bfc581418b1dc5)

Conflicts:
	custom/conf/app.example.ini
	docs/content/administration/config-cheat-sheet.en-us.md
	modules/setting/admin.go
	context
2024-02-26 22:30:26 +01:00
..
security
account.go Allow options to disable user deletion from the interface on app.ini (#29275) 2024-02-26 22:30:26 +01:00
account_test.go
adopt.go
applications.go
blocked_users.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
keys.go
main_test.go
oauth2.go
oauth2_common.go
packages.go
profile.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
runner.go
webhooks.go