Adding a --delattr option will round out multi-valued attribute manipulation. This will automatically appear in all commands that currently support setattr/addattr.
It will be evaluated last, after all sets and adds. This means that an add and delete in the same operation is a no-op, e.g.
ipa user-mod --addattr=objectclass=person --delattr=objectclass=person
This will make no changes.
Patch ''freeipa-mkosek-157-add-delattr-option-to-complement-setattr-addattr.patch'' sent for review freeipa-mkosek-157-add-delattr-option-to-complement-setattr-addattr.patch
attachment freeipa-mkosek-157-3-add-delattr-option-to-complement-setattr-addattr.patch
Patch freeipa-mkosek-157-3-add-delattr-option-to-complement-setattr-addattr.patch sent for review
master: 1b0b964
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=782873
Metadata Update from @rcritten: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 3.0 Core Effort - 2011/11
Login to comment on this ticket.