diff options
| author | Pavel Vomacka <pvomacka@redhat.com> | 2016-08-26 13:03:58 +0200 |
|---|---|---|
| committer | Martin Babinsky <mbabinsk@redhat.com> | 2016-09-07 09:17:49 +0200 |
| commit | 64ac981dddcecf1176585b6e7b729cf38b24bcea (patch) | |
| tree | 9fc853619c020cafe365795dba642369432a4e3e /install/ui | |
| parent | 40f923f56b4777e3e18c9f76ba1a745ed69ef0a6 (diff) | |
| download | freeipa-64ac981dddcecf1176585b6e7b729cf38b24bcea.tar.gz freeipa-64ac981dddcecf1176585b6e7b729cf38b24bcea.tar.xz freeipa-64ac981dddcecf1176585b6e7b729cf38b24bcea.zip | |
WebUI: Fix showing certificates issued by sub-CA
The cert-show command needs to be called with cacn option. Cacn option is
passed using URL attribute.
https://fedorahosted.org/freeipa/ticket/6238
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'install/ui')
| -rwxr-xr-x | install/ui/src/freeipa/certificate.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/certificate.js b/install/ui/src/freeipa/certificate.js index 232bdbf2f..e67c348b7 100755 --- a/install/ui/src/freeipa/certificate.js +++ b/install/ui/src/freeipa/certificate.js @@ -1543,6 +1543,7 @@ return { row_enabled_attribute: 'status', facet_groups: [exp.facet_group], facet_group: 'certificates', + additional_navigation_arguments: [ 'cacn' ], pagination: false, no_update: true, columns: [ @@ -1552,6 +1553,7 @@ return { width: '90px' }, 'subject', + 'cacn', { name: 'status', width: '120px' @@ -1645,6 +1647,7 @@ return { fields: [ 'serial_number', 'serial_number_hex', + 'cacn', 'subject', { name: 'issuer', @@ -1772,6 +1775,10 @@ IPA.cert.details_facet = function(spec, no_init) { var command = that.details_facet_create_refresh_command(); delete command.options.all; delete command.options.rights; + + command.options = command.options || {}; + $.extend(command.options, { cacn: that.state.cacn }); + return command; }; |
