Bug 782875

Summary: Add --delattr option to complement --setattr/--addattr
Product: Red Hat Enterprise Linux 6 Reporter: Deon Ballard <dlackey>
Component: doc-Identity_Management_GuideAssignee: Deon Ballard <dlackey>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: dpal, jskeoch, mkosek
Target Milestone: rcKeywords: Documentation
Target Release: 6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 782873 Environment:
Last Closed: 2012-06-21 23:13:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 782873    
Bug Blocks:    

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.