mirror of
https://github.com/Corsinvest/cv4pve-admin.git
synced 2026-04-25 04:45:59 +03:00
[PR #202] [MERGED] feat: add automatic API token creation wizard for cluster registration #194
Labels
No labels
bug
bug
enhancement
feedback
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-admin#194
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Corsinvest/cv4pve-admin/pull/202
Author: @franklupo
Created: 2/25/2026
Status: ✅ Merged
Merged: 2/25/2026
Merged by: @franklupo
Base:
main← Head:feat/cluster-api-token-wizard📝 Commits (1)
594e9cafeat: add automatic API token creation wizard for cluster registration📊 Changes
9 files changed (+172 additions, -15 deletions)
View changed files
📝
src/Corsinvest.ProxmoxVE.Admin.Core/Components/Layout/MainLayout.razor.cs(+2 -0)➕
src/Corsinvest.ProxmoxVE.Admin.Core/Extensions/NavigationManagerExtensions.cs(+11 -0)📝
src/Corsinvest.ProxmoxVE.Admin.Core/Services/AdminService.cs(+1 -1)📝
src/Corsinvest.ProxmoxVE.Admin.Core/Services/IAdminService.cs(+1 -0)📝
src/Corsinvest.ProxmoxVE.Admin.Module.System/Components/ClusterConfig/ClusterSettingsDialog.razor(+16 -2)📝
src/Corsinvest.ProxmoxVE.Admin.Module.System/Components/ClusterConfig/ClusterSettingsDialog.razor.cs(+68 -7)➕
src/Corsinvest.ProxmoxVE.Admin.Module.System/Components/ClusterConfig/CreateApiTokenDialog.razor(+57 -0)➕
src/Corsinvest.ProxmoxVE.Admin.Module.System/Components/ClusterConfig/CreateApiTokenModel.cs(+12 -0)📝
src/Corsinvest.ProxmoxVE.Admin.Module.System/Components/ClusterConfig/RenderClustersSettings.razor.cs(+4 -5)📄 Description
Summary
CreateApiTokenDialogwith Username, Password, TokenName fields and data annotation validationCreateApiTokenAsyncinClusterSettingsDialog: creates dedicatedcv4pve-admin@pveuser, assignsPVEAdminrole on/, generates API token withprivsep=0IAdminService.CreateClusterClient()as public (needed by wizard)NavigationManagerExtensions.ForceReload()helperRenderClustersSettings: remove duplicatesialogServiceparameter, useForceReload()ClusterSettingsDialogTest plan
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.