mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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>
This commit is contained in:
committed by
Martin Babinsky
parent
40f923f56b
commit
64ac981ddd
@@ -1543,6 +1543,7 @@ return {
|
|||||||
row_enabled_attribute: 'status',
|
row_enabled_attribute: 'status',
|
||||||
facet_groups: [exp.facet_group],
|
facet_groups: [exp.facet_group],
|
||||||
facet_group: 'certificates',
|
facet_group: 'certificates',
|
||||||
|
additional_navigation_arguments: [ 'cacn' ],
|
||||||
pagination: false,
|
pagination: false,
|
||||||
no_update: true,
|
no_update: true,
|
||||||
columns: [
|
columns: [
|
||||||
@@ -1552,6 +1553,7 @@ return {
|
|||||||
width: '90px'
|
width: '90px'
|
||||||
},
|
},
|
||||||
'subject',
|
'subject',
|
||||||
|
'cacn',
|
||||||
{
|
{
|
||||||
name: 'status',
|
name: 'status',
|
||||||
width: '120px'
|
width: '120px'
|
||||||
@@ -1645,6 +1647,7 @@ return {
|
|||||||
fields: [
|
fields: [
|
||||||
'serial_number',
|
'serial_number',
|
||||||
'serial_number_hex',
|
'serial_number_hex',
|
||||||
|
'cacn',
|
||||||
'subject',
|
'subject',
|
||||||
{
|
{
|
||||||
name: 'issuer',
|
name: 'issuer',
|
||||||
@@ -1772,6 +1775,10 @@ IPA.cert.details_facet = function(spec, no_init) {
|
|||||||
var command = that.details_facet_create_refresh_command();
|
var command = that.details_facet_create_refresh_command();
|
||||||
delete command.options.all;
|
delete command.options.all;
|
||||||
delete command.options.rights;
|
delete command.options.rights;
|
||||||
|
|
||||||
|
command.options = command.options || {};
|
||||||
|
$.extend(command.options, { cacn: that.state.cacn });
|
||||||
|
|
||||||
return command;
|
return command;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user