mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-23 16:23:12 +09:00
Add bulk user actions (Import/Export/Restore) (#741)
* Add "Bulk Actions" modal to users page * Add control logic without validation * Add restore and better permission check * Add controller logic and automatic backup * Add CTL commands for bulk actions * Add tests for bulk actions * Improve description on permissions
This commit is contained in:
1 parent
1d5040dc0c
commit
0055f28f45
8 files changed
+1044
-5
No files matched your search
@@ -484,6 +484,24 @@ definePermission({
|
||||
title: "Delete user",
|
||||
description: "Delete users and all data stored for them.",
|
||||
});
|
||||
definePermission({
|
||||
name: "core.user.bulk_import",
|
||||
title: "Bulk user import",
|
||||
description: "Bulk import users including admin, whitelist, and bans." +
|
||||
" (Imports types are restricted by other permissions, e.g. core.user.set_admin)",
|
||||
});
|
||||
definePermission({
|
||||
name: "core.user.bulk_export",
|
||||
title: "Bulk user export",
|
||||
description: "Bulk export users including admin, whitelist, and bans.",
|
||||
});
|
||||
definePermission({
|
||||
name: "core.user.bulk_restore",
|
||||
title: "Bulk user restore",
|
||||
description: "Bulk restore users including admin, whitelist, and bans." +
|
||||
" (Restore types are restricted by other permissions, e.g. core.user.set_admin)",
|
||||
});
|
||||
|
||||
definePermission({
|
||||
name: "core.log.follow",
|
||||
title: "Follow cluster log",
|
||||
|
||||
Reference in new issue
Block a user