forgejo/templates/user/settings
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 Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
account.tmpl Allow options to disable user deletion from the interface on app.ini (#29275) 2024-02-26 22:30:26 +01:00
actions.tmpl
appearance.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
applications.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
applications_oauth2.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
applications_oauth2_edit.tmpl
applications_oauth2_edit_form.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
applications_oauth2_list.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
blocked_users.tmpl [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
grants_oauth2.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
hook_new.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
hooks.tmpl
keys.tmpl
keys_gpg.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
keys_principal.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
keys_ssh.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
layout_footer.tmpl
layout_head.tmpl
navbar.tmpl [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
organization.tmpl Use "Safe" modifier for manually constructed safe HTML strings in templates (#29227) 2024-02-19 22:58:32 +01:00
packages.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
packages_cleanup_rules_edit.tmpl
packages_cleanup_rules_preview.tmpl
profile.tmpl Fix labels referencing the wrong ID in the user profile settings (#29199) 2024-02-17 23:24:32 +01:00
repos.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
runner_edit.tmpl