mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
webui: fix regression in association facet preop
Association facet specs use 'add_method' instead of 'add command' origin: https://fedorahosted.org/freeipa/ticket/4507 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
@@ -830,7 +830,7 @@ exp.association_facet_pre_op = function(spec, context) {
|
||||
// batch associator (default) calls entity_command, serial associator
|
||||
// calls other_entity_command --> if entity doesn't support the command,
|
||||
// switch associators to try the other_entity
|
||||
var add_command = spec.add_command || 'add_member';
|
||||
var add_command = spec.add_method || 'add_member';
|
||||
if (!metadata_provider.get('@mc:'+entity.name+'_'+add_command)) {
|
||||
spec.associator = IPA.serial_associator;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user