diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-08-20 13:44:59 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-08-28 14:23:42 +0200 |
commit | 92569b712c04c6e4a1eb8c1e2c118a649f727997 (patch) | |
tree | 696751a5898a7f0762e2820b48fd0de0b3ff79b5 /install/ui | |
parent | bea533c69a2b11e4a774144b8ee335e458333f7a (diff) | |
download | freeipa-92569b712c04c6e4a1eb8c1e2c118a649f727997.tar.gz freeipa-92569b712c04c6e4a1eb8c1e2c118a649f727997.tar.xz freeipa-92569b712c04c6e4a1eb8c1e2c118a649f727997.zip |
Update idrange search facet after trust creation
Adding a trust creates a range -> range search facet should be marked as expired.
https://fedorahosted.org/freeipa/ticket/3874
Diffstat (limited to 'install/ui')
-rw-r--r-- | install/ui/src/freeipa/trust.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/trust.js b/install/ui/src/freeipa/trust.js index 53a536763..2653d3e67 100644 --- a/install/ui/src/freeipa/trust.js +++ b/install/ui/src/freeipa/trust.js @@ -38,6 +38,16 @@ return { enable_test: function() { return IPA.trust_enabled; }, + policies: [ + IPA.search_facet_update_policy, + IPA.details_facet_update_policy, + { + $factory: IPA.adder_facet_update_policy, + source_facet: 'search', + dest_entity: 'idrange', + dest_facet: 'search' + } + ], facets: [ { $type: 'search', |