Bug 1326595

Summary: [DOCS] Document user deletion procedure
Product: OpenShift Container Platform Reporter: Evgheni Dereveanchin <ederevea>
Component: DocumentationAssignee: Ashley Hardin <ahardin>
Status: CLOSED CURRENTRELEASE QA Contact: weiwei jiang <wjiang>
Severity: high Docs Contact: Vikram Goyal <vigoyal>
Priority: high    
Version: 3.1.0CC: aos-bugs, jokerman, mmccomas, plarsen, wsun
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://access.redhat.com/documentation/en/openshift-enterprise/3.1/cluster-administration/cluster-administration
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-02 13:55:20 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:
Embargoed:

Description Evgheni Dereveanchin 2016-04-13 07:59:56 UTC
Document URL: 
https://access.redhat.com/documentation/en/openshift-enterprise/3.1/cluster-administration/cluster-administration

Section Number and Name: 
?
Describe the issue: 
The process of deleting users is not described

Suggestions for improvement: 
Add a chapter describing the required steps to properly delete a user from OpenShift

Additional information: 

The process would look something like this:
First, remove the user

# oc delete user myuser
# oc delete group myuser

Then delete the identity, otherwise the user will not be able to log in again

# oc get identity | grep myuser
# oc delete identity my_htpasswd_provider:myuser

After that is done, if the user tries to log in again, a fresh new account will be created in OpenShift.

Comment 2 Ashley Hardin 2016-04-14 19:11:00 UTC
Work in progress:
https://github.com/openshift/openshift-docs/pull/1906

Comment 3 weiwei jiang 2016-04-18 02:41:02 UTC
Checked and look good.

Comment 4 openshift-github-bot 2016-04-18 14:53:38 UTC
Commits pushed to master at https://github.com/openshift/openshift-docs

https://github.com/openshift/openshift-docs/commit/266c95e889370141829067e991c5f5e6e62b15de
Bug 1326595, added Managing Users section

https://github.com/openshift/openshift-docs/commit/b28a196fef3740f551395a664eeb4fda780f0d8b
Merge pull request #1906 from ahardin-rh/user-deletion

Bug 1326595, added Managing Users section