mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 00:31:56 -06:00
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
This commit is contained in:
parent
bea533c69a
commit
92569b712c
@ -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',
|
||||
|
@ -67,8 +67,6 @@ class test_range(range_tasks):
|
||||
sid = self.get_sid()
|
||||
|
||||
self.navigate_to_entity(ENTITY)
|
||||
self.facet_button_click('refresh')
|
||||
self.wait_for_request(n=2)
|
||||
|
||||
add = self.get_add_data(pkey_ad, range_type='ipa-ad-trust', sid=sid)
|
||||
data = self.get_data(pkey_ad, add_data=add)
|
||||
|
@ -132,8 +132,6 @@ class test_trust(trust_tasks):
|
||||
data = self.get_data(add_data=add)
|
||||
self.add_record(ENTITY, data, delete=True)
|
||||
self.navigate_to_entity('idrange')
|
||||
self.facet_button_click('refresh')
|
||||
self.wait_for_request(n=2)
|
||||
self.assert_record_value('Active Directory domain range', range_pkey, column)
|
||||
self.delete_record(range_pkey)
|
||||
|
||||
@ -141,8 +139,6 @@ class test_trust(trust_tasks):
|
||||
data = self.get_data(add_data=add)
|
||||
self.add_record(ENTITY, data, delete=True)
|
||||
self.navigate_to_entity('idrange')
|
||||
self.facet_button_click('refresh')
|
||||
self.wait_for_request(n=2)
|
||||
self.assert_record_value('Active Directory trust range with POSIX attributes', range_pkey, column)
|
||||
self.delete_record(range_pkey)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user