From e61c2e34411ad1713086813e938b09a464c4ffa6 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 15 Aug 2013 14:05:50 +0200 Subject: Hide 'New Certificate' action on CA-less install This action calls cert-request command which is not available on CA-less installs. Thus this action won't be enabled and therefore there is no reason to keep it visible. https://fedorahosted.org/freeipa/ticket/3363 --- install/ui/src/freeipa/certificate.js | 1 + 1 file changed, 1 insertion(+) (limited to 'install/ui/src') diff --git a/install/ui/src/freeipa/certificate.js b/install/ui/src/freeipa/certificate.js index 89793908..2fab64b7 100755 --- a/install/ui/src/freeipa/certificate.js +++ b/install/ui/src/freeipa/certificate.js @@ -615,6 +615,7 @@ IPA.cert.request_action = function(spec) { spec.name = spec.name || 'request_cert'; spec.label = spec.label || '@i18n:objects.cert.new_certificate'; spec.enable_cond = spec.enable_cond || ['ra_enabled']; + spec.hide_cond = spec.hide_cond || ['ra_disabled']; var that = IPA.action(spec); that.entity_label = spec.entity_label; -- cgit