forgejo-federation/templates/user
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
..
auth Revert #28753 because UI broken. (#29293) 2024-02-26 22:30:25 +01:00
dashboard Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
notification Refactor template empty checks (#28351) 2023-12-04 15:48:42 -06:00
overview Unify organizations header (#29248) 2024-02-26 22:30:26 +01:00
settings Allow options to disable user deletion from the interface on app.ini (#29275) 2024-02-26 22:30:26 +01:00
code.tmpl Unify organizations header (#29248) 2024-02-26 22:30:26 +01:00
heatmap.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
profile.tmpl [MODERATION] User blocking 2024-02-05 15:56:45 +01:00