From fb334e291744a500a99fab1d54a5db7448cdcfbf Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 3 Feb 2015 11:34:47 -0500 Subject: Added managesubca action to automatically configure the environment to manage a sub-CA --- openssl-read-html.lsp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openssl-read-html.lsp') diff --git a/openssl-read-html.lsp b/openssl-read-html.lsp index 21fa0c0..27c31f2 100644 --- a/openssl-read-html.lsp +++ b/openssl-read-html.lsp @@ -139,6 +139,9 @@ end %> if viewlibrary.check_permission("deletecert") then htmlviewfunctions.displayitem(cfe({type="form", value={cert=crt, cadir=cadir}, label="", option="Delete", action="deletecert"}), page_info, -1) end + if viewlibrary.check_permission("managesubca") and cert.certtype == "ssl_ca_cert" then + htmlviewfunctions.displayitem(cfe({type="form", value={cert=crt, cadir=cadir}, label="", option="Manage", action="managesubca"}), page_info, -1) + end %> <%= html.html_escape(cert.user) %> -- cgit v1.2.3