Bug 999410

Summary: [RFE] Account provider - make users home's directory removal as optional choice
Product: Red Hat Enterprise Linux 7 Reporter: Robin Hack <rhack>
Component: openlmi-providersAssignee: Tomáš Bžatek <tbzatek>
Status: CLOSED CURRENTRELEASE QA Contact: Robin Hack <rhack>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: psklenar, rhack, tbzatek, tsmetana
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openlmi-providers-0.3.0-1.el7 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 09:55:19 UTC Type: Bug
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:    
Bug Blocks: 922084    

Comment 2 Roman Rakus 2013-08-21 12:05:46 UTC
Only possible way to do it is to add property with this flag.

Comment 3 Roman Rakus 2013-08-22 11:05:08 UTC
What about something like this:
1) check who is owner of user's home dir
2) Is it user to be deleted?
2a - yes) delete home dir
2b - no) Don't touch home dir.

Does it make sense?

Comment 4 Roman Rakus 2013-08-28 13:12:33 UTC
Another option:
Create method named delete_user with parameters.

Comment 5 Roman Rakus 2013-08-28 13:24:52 UTC
Will do the following:
Change behaviour of DeleteInstance to do the check, mark this intrinsic method as deprecated and create extrinsic method with parameters.

Comment 6 Roman Rakus 2013-09-04 11:59:15 UTC
Fixed upstream.

Comment 7 Roman Rakus 2013-09-04 12:06:17 UTC
*** Bug 999386 has been marked as a duplicate of this bug. ***

Comment 11 Ludek Smid 2014-06-13 09:55:19 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.