delete associations

Uses code very similar to the search code for deleting associations
Had to modify how we were configuring for bulk so that the logic for delete matched the logic for enroll

Fixed unit test and removed the 'new' from the associator call
This commit is contained in:
Adam Young
2010-10-28 17:20:12 -04:00
committed by Endi Sukma Dewata
parent 3c795f3251
commit 6df16f3a10
6 changed files with 213 additions and 66 deletions

View File

@@ -70,7 +70,7 @@ ipa_entity_set_association_definition('taskgroup', {
});
ipa_entity_set_association_definition('rolegroup', {
'rolegroup': { associator: BulkAssociator }
'rolegroup': { }
});
@@ -98,7 +98,7 @@ ipa_entity_set_details_definition('rolegroup', [
]);
ipa_entity_set_association_definition('rolegroup', {
'taskgroup': { associator: SerialAssociator }
'taskgroup': { associator: 'serial' }
});
/* Configuration */