|
|
403b09 |
From f718361b95258244df1d26b5f15d3a8098259939 Mon Sep 17 00:00:00 2001
|
|
|
403b09 |
From: Pavel Vomacka <pvomacka@redhat.com>
|
|
|
403b09 |
Date: Fri, 26 Aug 2016 13:03:58 +0200
|
|
|
403b09 |
Subject: [PATCH] WebUI: Fix showing certificates issued by sub-CA
|
|
|
403b09 |
|
|
|
403b09 |
The cert-show command needs to be called with cacn option. Cacn option is
|
|
|
403b09 |
passed using URL attribute.
|
|
|
403b09 |
|
|
|
403b09 |
https://fedorahosted.org/freeipa/ticket/6238
|
|
|
403b09 |
|
|
|
403b09 |
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
|
|
|
403b09 |
---
|
|
|
403b09 |
install/ui/src/freeipa/certificate.js | 7 +++++++
|
|
|
403b09 |
1 file changed, 7 insertions(+)
|
|
|
403b09 |
|
|
|
403b09 |
diff --git a/install/ui/src/freeipa/certificate.js b/install/ui/src/freeipa/certificate.js
|
|
|
403b09 |
index 232bdbf2fa95c3a68943539cd80129d481d8563a..e67c348b7edbd2e273f18ed1df40ef8b5b5e59c3 100755
|
|
|
403b09 |
--- a/install/ui/src/freeipa/certificate.js
|
|
|
403b09 |
+++ b/install/ui/src/freeipa/certificate.js
|
|
|
403b09 |
@@ -1543,6 +1543,7 @@ return {
|
|
|
403b09 |
row_enabled_attribute: 'status',
|
|
|
403b09 |
facet_groups: [exp.facet_group],
|
|
|
403b09 |
facet_group: 'certificates',
|
|
|
403b09 |
+ additional_navigation_arguments: [ 'cacn' ],
|
|
|
403b09 |
pagination: false,
|
|
|
403b09 |
no_update: true,
|
|
|
403b09 |
columns: [
|
|
|
403b09 |
@@ -1552,6 +1553,7 @@ return {
|
|
|
403b09 |
width: '90px'
|
|
|
403b09 |
},
|
|
|
403b09 |
'subject',
|
|
|
403b09 |
+ 'cacn',
|
|
|
403b09 |
{
|
|
|
403b09 |
name: 'status',
|
|
|
403b09 |
width: '120px'
|
|
|
403b09 |
@@ -1645,6 +1647,7 @@ return {
|
|
|
403b09 |
fields: [
|
|
|
403b09 |
'serial_number',
|
|
|
403b09 |
'serial_number_hex',
|
|
|
403b09 |
+ 'cacn',
|
|
|
403b09 |
'subject',
|
|
|
403b09 |
{
|
|
|
403b09 |
name: 'issuer',
|
|
|
403b09 |
@@ -1772,6 +1775,10 @@ IPA.cert.details_facet = function(spec, no_init) {
|
|
|
403b09 |
var command = that.details_facet_create_refresh_command();
|
|
|
403b09 |
delete command.options.all;
|
|
|
403b09 |
delete command.options.rights;
|
|
|
403b09 |
+
|
|
|
403b09 |
+ command.options = command.options || {};
|
|
|
403b09 |
+ $.extend(command.options, { cacn: that.state.cacn });
|
|
|
403b09 |
+
|
|
|
403b09 |
return command;
|
|
|
403b09 |
};
|
|
|
403b09 |
|
|
|
403b09 |
--
|
|
|
403b09 |
2.7.4
|
|
|
403b09 |
|