feat(web): Add org removal functionality to admin user details page (#38013)

Signed-off-by: techknowlogick <techknowlogick@gitea.com>
Signed-off-by: Karthik Bhandary <34509856+karthikbhandary2@users.noreply.github.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.com>
Co-authored-by: bircni <bircni@icloud.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Karthik Bhandary
2026-08-29 07:50:04 +00:00
committed by GitHub
co-authored by techknowlogick bircni wxiaoguang
parent 3c0bfe9463
commit 88974d2db9
7 changed files with 189 additions and 19 deletions
+7
View File
@@ -136,6 +136,7 @@
"show_full_screen": "Show full screen",
"download_logs": "Download logs",
"confirm_delete_selected": "Confirm to delete all selected items?",
"confirm_remove": "Confirm to remove?",
"name": "Name",
"value": "Value",
"readme": "Readme",
@@ -3100,6 +3101,12 @@
"admin.users.purge_help": "Forcibly delete user and any repositories, organizations, and packages owned by the user. All comments will be deleted too.",
"admin.users.still_own_packages": "This user still owns one or more packages. Delete these packages first.",
"admin.users.deletion_success": "The user account has been deleted.",
"admin.users.org_removed": "User has been removed from the organization %s.",
"admin.users.all_orgs_removed": "User has been removed from all organizations.",
"admin.users.no_orgs_removed": "Failed to remove user from organizations (may be last owner).",
"admin.users.some_orgs_removed": "User removed from %d of %d organizations (some may require another owner first).",
"admin.users.remove_all_orgs_title": "Remove from All Organizations?",
"admin.users.remove_all_orgs_desc": "Are you sure you want to remove %s from all %d organizations? This action cannot be undone.",
"admin.users.reset_2fa": "Reset 2FA",
"admin.users.list_status_filter.menu_text": "Filter",
"admin.users.list_status_filter.reset": "Reset",