1
0
Fork 0
forgejo/routers/web/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
..
setting Allow options to disable user deletion from the interface on app.ini (#29275) 2024-02-26 22:30:26 +01:00
avatar.go
code.go
home.go
home_test.go
main_test.go
notification.go
package.go
profile.go Unify organizations header (#29248) 2024-02-26 22:30:26 +01:00
search.go
stop_watch.go
task.go