Bug 782875 - Add --delattr option to complement --setattr/--addattr
Summary: Add --delattr option to complement --setattr/--addattr
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: doc-Identity_Management_Guide
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 6.3
Assignee: Deon Ballard
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On: 782873
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-18 18:56 UTC by Deon Ballard
Modified: 2012-06-21 23:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 782873
Environment:
Last Closed: 2012-06-21 23:13:57 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Deon Ballard 2012-01-18 18:56:51 UTC
+++ This bug was initially created as a clone of Bug #782873 +++

This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/1929

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.

Comment 5 Deon Ballard 2012-06-21 23:13:57 UTC
Closing.


Note You need to log in before you can comment on or make changes to this bug.