From a56e3d6c5a75c539ea260217bdd61c1634af3051 Mon Sep 17 00:00:00 2001 From: Shankar Date: Sat, 28 Mar 2026 07:36:58 -0400 Subject: [PATCH] feat(gui): add create modals for issuers, policies, profiles, owners, teams, agent groups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Six pages were read-only viewers despite the API client having all create functions wired up. Users deploying certctl had no way to create CAs or other objects from the GUI — reported in GitHub issue. - IssuersPage: 2-step create modal (type selection → config) for Local CA, ACME, step-ca, OpenSSL/Custom issuer types - PoliciesPage: create modal with type, severity, JSON config, enabled - ProfilesPage: create modal with name, description, max TTL, short-lived - OwnersPage: create modal with name, email, team dropdown - TeamsPage: create modal with name, description - AgentGroupsPage: create modal with match criteria fields - Layout.tsx: version v2.0.5 → v2.0.7 - cmd/server/main.go: version 0.1.0 → 2.0.7 Co-Authored-By: Claude Opus 4.6 --- cmd/server/main.go | 2 +- web/src/components/Layout.tsx | 2 +- web/src/pages/AgentGroupsPage.tsx | 168 ++++++++++++++++- web/src/pages/IssuersPage.tsx | 299 +++++++++++++++++++++++++++++- web/src/pages/OwnersPage.tsx | 128 ++++++++++++- web/src/pages/PoliciesPage.tsx | 148 ++++++++++++++- web/src/pages/ProfilesPage.tsx | 135 +++++++++++++- web/src/pages/TeamsPage.tsx | 107 ++++++++++- 8 files changed, 975 insertions(+), 14 deletions(-) diff --git a/cmd/server/main.go b/cmd/server/main.go index 5fea9b8..8095902 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -44,7 +44,7 @@ func main() { })) logger.Info("certctl server starting", - "version", "0.1.0", + "version", "2.0.7", "server_host", cfg.Server.Host, "server_port", cfg.Server.Port) diff --git a/web/src/components/Layout.tsx b/web/src/components/Layout.tsx index b081021..0860710 100644 --- a/web/src/components/Layout.tsx +++ b/web/src/components/Layout.tsx @@ -69,7 +69,7 @@ export default function Layout() {
- v2.0.5 + v2.0.7 {authRequired && (