Bug 999410 - [RFE] Account provider - make users home's directory removal as optional choice
Summary: [RFE] Account provider - make users home's directory removal as optional choice
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openlmi-providers
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Tomáš Bžatek
QA Contact: Robin Hack
URL:
Whiteboard:
: 999386 (view as bug list)
Depends On:
Blocks: 922084
TreeView+ depends on / blocked
 
Reported: 2013-08-21 09:40 UTC by Robin Hack
Modified: 2015-03-03 23:06 UTC (History)
4 users (show)

Fixed In Version: openlmi-providers-0.3.0-1.el7
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 09:55:19 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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